diff --git a/src/components/shared/button.tsx b/src/components/shared/button.tsx index e1760af..fec499d 100644 --- a/src/components/shared/button.tsx +++ b/src/components/shared/button.tsx @@ -53,4 +53,6 @@ const Button = forwardRef( } ); +Button.displayName = 'Button'; + export default Button; diff --git a/src/components/shared/table.tsx b/src/components/shared/table.tsx index 81675de..4cc3aef 100644 --- a/src/components/shared/table.tsx +++ b/src/components/shared/table.tsx @@ -8,16 +8,22 @@ const Root = forwardRef>(({ c )); +Root.displayName = 'Table-Root'; + const Header = forwardRef>( ({ className, ...props }, ref) => ); +Header.displayName = 'Table-Header'; + const Body = forwardRef>( ({ className, ...props }, ref) => ( ) ); +Body.displayName = 'Table-Body'; + const Row = forwardRef>(({ className, ...props }, ref) => ( > /> )); +Row.displayName = 'Table-Row'; + const Head = forwardRef>( ({ className, ...props }, ref) => ( >( ({ className, ...props }, ref) => ( ) ); +Cell.displayName = 'Table-Cell'; + export default { Root, Header, Body, Head, Row, Cell };