umd-styles-library
    Preparing search index...
    • Composable secondary action button style selector

      Creates secondary button styles with configurable size and color options. Secondary buttons are used for less prominent actions on a page.

      Parameters

      Returns JssObject

      JSS object with composed styles and appropriate className

      // Normal size, default color
      const styles = composeSecondary();

      // Large size
      const styles = composeSecondary({ size: 'large' });

      // White color variant
      const styles = composeSecondary({ color: 'white' });

      // Gold color variant
      const styles = composeSecondary({ color: 'gold' });

      1.7.0