Add `@depreacted` tag for `Breadcrumb.Separator`, `Breadcrumb.Item`, `Button.Group`, `Select.Option`, etc.
Issue Details
What problem does this feature solve?
If there are hundreds of components and pages in a project, it takes a lot of time to open pages with them and see the warning in the console. It would be much more convenient to immediately see a warning from TypeScript or from ESLint with typescript-eslint/no-deprecated
/ sonarjs/deprecation
rules enabled that I should replace deprecated components with a suitable modern alternative.
What does the proposed API look like?
Add @depreacted
tag for all deprecated components.
P.S. I've only listed some examples, but there are probably more components where this is relevant, especially where items
and options
are now recommended.
Issue Details
Add `@depreacted` tag for `Breadcrumb.Separator`, `Breadcrumb.Item`, `Button.Group`, `Select.Option`, etc.
What problem does this feature solve?
If there are hundreds of components and pages in a project, it takes a lot of time to open pages with them and see the warning in the console. It would be much more convenient to immediately see a warning from TypeScript or from ESLint with typescript-eslint/no-deprecated
/ sonarjs/deprecation
rules enabled that I should replace deprecated components with a suitable modern alternative.
What does the proposed API look like?
Add @depreacted
tag for all deprecated components.
P.S. I've only listed some examples, but there are probably more components where this is relevant, especially where items
and options
are now recommended.