@whitemordred/react-native-bootstrap5
Version:
A complete React Native library that replicates Bootstrap 5.3 with 100% feature parity, full theming support, CSS variables, and dark/light mode
40 lines • 1.17 kB
TypeScript
import React from 'react';
import { ViewStyle, TextStyle } from 'react-native';
interface TableProps {
children: React.ReactNode;
striped?: boolean;
bordered?: boolean;
borderless?: boolean;
hover?: boolean;
small?: boolean;
responsive?: boolean;
variant?: 'dark' | 'light';
style?: ViewStyle;
}
interface TableHeadProps {
children: React.ReactNode;
variant?: 'dark' | 'light';
style?: ViewStyle;
}
interface TableBodyProps {
children: React.ReactNode;
style?: ViewStyle;
}
interface TableRowProps {
children: React.ReactNode;
variant?: 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'light' | 'dark';
style?: ViewStyle;
}
interface TableCellProps {
children: React.ReactNode;
header?: boolean;
style?: ViewStyle;
textStyle?: TextStyle;
}
export declare const Table: React.FC<TableProps>;
export declare const TableHead: React.FC<TableHeadProps>;
export declare const TableBody: React.FC<TableBodyProps>;
export declare const TableRow: React.FC<TableRowProps>;
export declare const TableCell: React.FC<TableCellProps>;
export {};
//# sourceMappingURL=Table.d.ts.map