-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
chore: add decorator in dataTable #18114
base: main
Are you sure you want to change the base?
chore: add decorator in dataTable #18114
Conversation
✅ Deploy Preview for v11-carbon-web-components ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for carbon-elements ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for v11-carbon-react ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify site configuration. |
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.
thanks for tackling the data table!!! this is looking really good! left some comments, but lmk if you have any questions!
packages/styles/scss/components/data-table/sort/_data-table-sort.scss
Outdated
Show resolved
Hide resolved
/** | ||
* @deprecated please use decorator instead. | ||
* Provide a `Slug` component to be rendered inside the `TableSlugRow` component | ||
*/ | ||
slug?: ReactNode; |
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.
do we need the deprecated slug
if we are introducing a new component?
Closes #18005
Add decorator in dataTable component
Changelog
Added a new component
TableDecoratorRow
Added a new deprecated warning function for components
Changed
slug
as deprecated prop in all dataTable componentsTableSlugRow
component as deprecatedai-lable
anddecorator
both.Testing / Reviewing