funuicss
Version:
React and Next.js component UI Library for creating Easy and good looking websites with fewer lines of code. Elevate your web development experience with our cutting-edge React/Next.js component UI Library. Craft stunning websites effortlessly, boasting b
34 lines (33 loc) • 971 B
TypeScript
import * as React from 'react';
type TableProps = {
children?: React.ReactNode;
funcss?: string;
title?: string;
bordered?: boolean;
noStripped?: boolean;
hoverable?: boolean;
showTotal?: boolean;
light?: boolean;
isLoading?: boolean;
dark?: boolean;
data?: {
"fields": string[];
"data": any[];
"titles": string[];
};
head?: React.ReactNode;
right?: React.ReactNode;
body?: React.ReactNode;
height?: number;
pageSize?: number;
customColumns?: {
title: string;
render: (data: any) => React.ReactNode;
onClick?: (data: any) => void;
}[];
filterableFields?: string[];
};
export default function Table({ children, funcss, bordered, noStripped, hoverable, title, showTotal, light, dark, head, body, data, isLoading, right, height, pageSize, // Default page size,
customColumns, filterableFields, // New prop
...rest }: TableProps): any;
export {};