umd-styles-library
    Preparing search index...

    Function composePill

    • Composable pill/tag list style selector

      Creates pill list styles with configurable theme options. This function enables dynamic style composition based on theme requirements.

      Parameters

      • Optionaloptions: PillOptions

        Configuration object for style variants

      Returns JssObject

      JSS object with composed styles and appropriate className

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

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

      1.7.0