Migrating new components
All checks were successful
Deploy Docs to Synology / deploy (push) Successful in 3s
All checks were successful
Deploy Docs to Synology / deploy (push) Successful in 3s
This commit is contained in:
10
components/Table.js
Normal file
10
components/Table.js
Normal file
@@ -0,0 +1,10 @@
|
||||
// components/Table.js
|
||||
import { Tag } from "sigpro";
|
||||
|
||||
export const Table = (props, children) => {
|
||||
const { class: className, ...rest } = props;
|
||||
return Tag("table", {
|
||||
...rest,
|
||||
class: `table ${className || ''}`.trim()
|
||||
}, children);
|
||||
};
|
||||
Reference in New Issue
Block a user