UNPKG

carbon-react

Version:

A library of reusable React components for easily building user interfaces.

2 lines (1 loc) 889 B
import t,{css as o}from"styled-components";import{margin as e}from"styled-system";import i from"../../../style/themes/apply-base-theme.js";import{StyledButtonToggle as p,StyledButtonToggleWrapper as s}from"../button-toggle.style.js";const r=t.div.attrs(i).attrs({type:"button"}).withConfig({displayName:"button-toggle-group.style__StyledButtonToggleGroup",componentId:"sc-2a42cbae-0"})([""," display:flex;box-shadow:inset 0px 0px 0px 1px var(--colorsActionMinor500);border-radius:var(--borderRadius100);padding:4px;gap:4px;width:fit-content;height:fit-content;flex-wrap:",";"," "," ",""],e,(({labelInline:t})=>t?"nowrap":"wrap"),(({disabled:t})=>t&&o(["cursor:not-allowed;box-shadow:inset 0px 0px 0px 1px var(--colorsActionDisabled600);"])),(({fullWidth:t})=>t&&o(["width:100%;","{width:100%;}","{flex:auto;}"],p,s)),(({inputWidth:t})=>t&&o(["width:",";"],`${t}%`)));export{r as default};