umd-styles-library
    Preparing search index...

    Function composeOutline

    • Composable outline action button style selector

      Creates outline button styles with configurable size and color options. Outline buttons have a border but transparent or light background.

      Parameters

      • Optionaloptions: OutlineOptions

        Configuration object for style variants

      Returns JssObject

      JSS object with composed styles and appropriate className

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

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

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

      // Large with white color
      const styles = composeOutline({ size: 'large', color: 'white' });

      1.7.0