umd-styles-library
    Preparing search index...

    Function composeIcon

    • Composable icon button style selector

      Creates icon button styles with configurable theme options. Icon buttons are small, compact buttons that contain only an icon.

      Parameters

      Returns JssObject

      JSS object with composed styles and appropriate className

      // Light theme (default)
      const styles = composeIcon();

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

      1.7.0