Skip to content

Instantly share code, notes, and snippets.

View chaluvadi-jayanth's full-sized avatar
🦁
Next.js Developer in the Fintech Realm

JAYANTH chaluvadi-jayanth

🦁
Next.js Developer in the Fintech Realm
View GitHub Profile
import React, { useState } from "react";
import Papa from "papaparse";
import { Table, Alert } from "react-bootstrap";
const allowedExtensions = ["csv"];
const App = () => {
const [data, setData] = useState([]);
const [error, setError] = useState("");
const [file, setFile] = useState("");
import React, { useState } from "react";
import Papa from "papaparse";
import DataTable from "react-data-table-component";
import { Alert } from "react-bootstrap";
const allowedExtensions = ["csv"];
const App = () => {
const [data, setData] = useState([]);
const [error, setError] = useState("");
import { useTranslation } from "next-i18next";
import React, { useCallback, useEffect, useMemo, useState } from "react";
import { Card, Form, InputGroup, Modal } from "react-bootstrap";
import DataTable from "react-data-table-component";
import { useDebounce } from "use-debounce";
import noData from "../../../../public/assets/img/svgs/no_data.svg";
import { useAppSelector } from "../../../../store";
import { useGetAdminsListQuery } from "../../../../store/services/admin/admin";
<template>
<svg
width="47"
height="41"
viewBox="0 0 47 41"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M29.7299 31.4H36.7556C41.84 31.4 46 28.479 46 23.04C46 17.601 41.1005 14.893 37.1254 14.68C36.3036 6.174 30.5619 1 23.8135 1C17.4349 1 13.3266 5.579 11.9807 10.12C6.43403 10.69 1.62695 14.508 1.62695 20.76C1.62695 27.012 6.61892 31.4 12.7202 31.4H17.8971"
@chaluvadi-jayanth
chaluvadi-jayanth / Vuelidate
Created April 6, 2022 12:22
Before changing.
export const loginForm = {
userEmail: {
minLen: 2,
maxLen: 255,
message: 'Please enter a valid email or 10 digit phone number'
},
password: {
message: 'Please enter your password'
}
};
@chaluvadi-jayanth
chaluvadi-jayanth / gist:7ee3088fe3da87531bf26952f3498f93
Created October 12, 2021 07:50
Home.vue -> In dashboard transaction count is zero.
<template>
<div>
<b-row>
<b-colxx xxs="12">
<piaf-breadcrumb :heading="$t('menu.analytics')" />
<page-info :text="$t('home.page-info')"></page-info>
<div class="separator mb-5"></div>
</b-colxx>
</b-row>
<b-row>