fix: missing display name

This commit is contained in:
Aslam H
2024-09-09 17:50:29 +07:00
parent 5f537d5618
commit 84ee3d0517
2 changed files with 4 additions and 1 deletions

View File

@@ -26,12 +26,16 @@ const ColumnWrapper = React.forwardRef<HTMLDivElement, ColumnWrapperProps>(
)
)
ColumnWrapper.displayName = "ColumnWrapper"
const ColumnText = React.forwardRef<HTMLSpanElement, ColumnTextProps>(({ children, className, ...props }, ref) => (
<span className={cn("text-left text-xs", className)} ref={ref} {...props}>
{children}
</span>
))
ColumnText.displayName = "ColumnText"
export const Column = {
Wrapper: ColumnWrapper,
Text: ColumnText