-
-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
Describe the bug
I can't seem to be able to use className prop for styling to be able to style using tailwind.
It looks like the component has as set of base styles which are overriding my styling

To Reproduce
<RichTextarea
style={{
maxHeight: 100,
}}
className={cn(
"flex min-h-10 w-full resize-none bg-white px-3 py-2 text-base shadow-sm placeholder:text-muted-foreground focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
"overflow-hidden",
className,
)}
ref={ref}
{...props}
/>Expected behavior
Element to render with styling applied.
Platform:
- OS: macOS
- Browser: chrome
- Version of this package: 0.26.4
Additional context
Add any other context about the problem here.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels