umd-styles-library
    Preparing search index...
    • Composable wrap background style selector

      Creates wrap background styles with configurable color options. Wrap backgrounds provide responsive padding for content containers.

      Parameters

      Returns JssObject

      JSS object with composed styles and appropriate className

      // White background (default)
      const styles = composeWrap();

      // Light gray background
      const styles = composeWrap({ color: 'light' });

      // Dark gray background
      const styles = composeWrap({ color: 'dark' });

      1.7.0