Refactored exports.

This commit is contained in:
Mike Cao committed 2023-04-21 08:00:42 -07:00
1 parent 1baf4d5571
commit 8bddc666b4
110 files changed
+317 -124

No files matched your search

+3 -1
View File
@@ -1,7 +1,7 @@
import { Table, TableHeader, TableBody, TableRow, TableCell, TableColumn } from 'react-basics';
import styles from './SettingsTable.module.css';
export default function SettingsTable({ columns = [], data = [], children, cellRender }) {
export function SettingsTable({ columns = [], data = [], children, cellRender }) {
return (
<Table columns={columns} rows={data}>
<TableHeader className={styles.header}>
@@ -34,3 +34,5 @@ export default function SettingsTable({ columns = [], data = [], children, cellR
</Table>
);
}
export default SettingsTable;