umd-styles-library
    Preparing search index...

    Function composeLink

    • Composable link style selector

      Creates link styles with configurable color options for different backgrounds. This function enables dynamic style composition for various link color needs.

      Parameters

      • Optionaloptions: LinkOptions

        Configuration object for style variants

      Returns JssObject

      JSS object with composed styles and appropriate className

      // Red link (default)
      const styles = composeLink();

      // White link for dark backgrounds
      const styles = composeLink({ color: 'white' });

      1.7.0