- "v": " Examples Custom CSS styles className and style props can be used to customize styles, but there are a few limitations to remember: Certain style properties cannot be overridden; (refer to component documentation for a list of specific styles) Panel styles are applied to a nested HTMLDivElement to prevent interfering with the Flex layout When styling a Separator, use the data-separator attribute rather than :hover or :active pseudo-classes. This attribute is updated when the pointer is near enough to a separator element to be interactive, even if it is not directly on top of the element. < div data-separator = \"disabled\" /> \n < div data-separator = \"inactive\" /> \n < div data-separator = \"hover\" /> \n < div data-separator = \"active\" /> An example using Tailwind CSS might look something like this. < Separator \n className = \" \n bg-slate-600 \n [&[data-separator='hover']]:bg-slate-500 \n [&[data-separator='active']]:bg-slate-400 \n \" \n /> ",
0 commit comments