-
Notifications
You must be signed in to change notification settings - Fork 139
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feature: new tables on Search Analytics #2340
Conversation
@@ -36,7 +37,11 @@ export const TanStackTable = (props: TableProps) => { | |||
<tr> | |||
<For each={headerGroup.headers}> | |||
{(header) => ( | |||
<th class="sticky top-0 z-10 border-b border-neutral-300 bg-white bg-opacity-75 py-3.5 pl-4 pr-3 text-left text-sm font-semibold text-neutral-900 backdrop-blur backdrop-filter sm:pl-6 lg:pl-8"> | |||
<th |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would use the cn
utility or the classList attribute for conditional styles instead of interpolating. Its more consistent with the ordering and application of styles
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh true we have that, I forgot. On it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done!
@@ -15,6 +15,7 @@ export type SortableColumnDef<TValue> = ColumnDef<any, TValue> & { | |||
type TableProps = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would be nice to add a class
prop that gets appended to the container styles so that its more versatile
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done!
dd3a5c6
to
17105a7
Compare
Screenshots