brightyui
Version:
Brighty UI library
22 lines (21 loc) • 769 B
TypeScript
import { FC, ReactNode } from 'react';
import { ECountries } from '../../types/ECountries';
import { ECurrencies } from '../../types/ECurrencies';
import { AllCurrenciesData } from '../../types/allCurrencies';
interface CellProps {
type: 'default' | 'defaultReversed' | 'country' | 'currency' | 'vaultHome' | 'vaultDefault' | 'button' | 'accountHome';
title: string;
subtitle?: string | ReactNode;
disabled?: boolean;
loading?: boolean;
country?: ECountries;
currency?: ECurrencies | AllCurrenciesData;
onClick: (...args: any[]) => void;
buttonTitle?: string;
icon?: ReactNode;
rightSide?: ReactNode;
leftSide?: ReactNode;
wrapperRole?: 'default' | 'button';
}
declare const Cell: FC<CellProps>;
export default Cell;