- Notifications
You must be signed in to change notification settings - Fork1.1k
chore: replace MUI tables#20201
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Changes fromall commits
63a039a557281f8c970b2841c9cd5a98889330d5897dd9c1ae871eb6File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -47,7 +47,7 @@ export const TableBody = React.forwardRef< | ||
| /> | ||
| )); | ||
Member There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. how did this end up unused? ContributorAuthor
| ||
| exportconstTableFooter = React.forwardRef< | ||
| HTMLTableSectionElement, | ||
| React.HTMLAttributes<HTMLTableSectionElement> | ||
| >(({ className, ...props }, ref) => ( | ||
| @@ -82,22 +82,23 @@ const tableRowVariants = cva( | ||
| }, | ||
| ); | ||
| export type TableRowProps = React.HTMLAttributes<HTMLTableRowElement> & | ||
| VariantProps<typeof tableRowVariants>; | ||
| export const TableRow = React.forwardRef<HTMLTableRowElement, TableRowProps>( | ||
| ({ className, hover, ...props }, ref) => ( | ||
| <tr | ||
| ref={ref} | ||
| className={cn( | ||
| "border-0 border-b border-solid border-border transition-colors", | ||
| "data-[state=selected]:bg-muted", | ||
| tableRowVariants({ hover }), | ||
| className, | ||
| )} | ||
| {...props} | ||
| /> | ||
| ), | ||
| ); | ||
| export const TableHead = React.forwardRef< | ||
| HTMLTableCellElement, | ||
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.