Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
kellyjosephprice committed May 7, 2024
1 parent 21ff6f3 commit 365055b
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 19 deletions.
19 changes: 0 additions & 19 deletions components/Table/index.jsx

This file was deleted.

18 changes: 18 additions & 0 deletions components/Table/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import React from 'react';

interface Props extends JSX.IntrinsicAttributes {
children: [React.ReactElement<HTMLTableCaptionElement | HTMLTableSectionElement | HTMLTableRowElement>];
}

const Table = (props: Props) => {
const { children } = props;
return (
<div className="rdmd-table">
<div className="rdmd-table-inner">
<table>{children}</table>
</div>
</div>
);
};

export default Table;

0 comments on commit 365055b

Please sign in to comment.