umd-styles-library
    Preparing search index...

    Function composeTrailing

    • 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.

      Parameters

      Returns JssObject

      JSS object with composed styles and appropriate className

      // Default white background
      const styles = composeTrailing();

      // Light background
      const styles = composeTrailing({ theme: 'light' });

      // Dark background
      const styles = composeTrailing({ theme: 'dark' });

      1.7.0