Composable trailing line text style selector
Creates trailing line styles with configurable theme options. Trailing lines extend horizontally from the text to the right edge.
Optional
Configuration object for style variants
JSS object with composed styles and appropriate className
// Default white backgroundconst styles = composeTrailing();// Light backgroundconst styles = composeTrailing({ theme: 'light' });// Dark backgroundconst styles = composeTrailing({ theme: 'dark' }); Copy
// Default white backgroundconst styles = composeTrailing();// Light backgroundconst styles = composeTrailing({ theme: 'light' });// Dark backgroundconst styles = composeTrailing({ theme: 'dark' });
1.7.0
Composable trailing line text style selector
Creates trailing line styles with configurable theme options. Trailing lines extend horizontally from the text to the right edge.