UNPKG

@hitachivantara/uikit-react-core

Version:
31 lines (30 loc) 742 B
import { theme } from "@hitachivantara/uikit-styles"; import { createClasses } from "@hitachivantara/uikit-react-utils"; //#region src/RadioGroup/RadioGroup.styles.tsx var { staticClasses, useClasses } = createClasses("HvRadioGroup", { root: { display: "inline-block", overflow: "clip", overflowClipMargin: 4, verticalAlign: "top" }, label: {}, group: { display: "flex" }, vertical: { flexDirection: "column", "&>*": { zIndex: 0 }, "&>*:focus-within": { zIndex: 1 } }, horizontal: { flexDirection: "row", flexWrap: "wrap", gap: theme.space.sm }, invalid: { paddingBottom: theme.space.xs, borderBottom: `1px solid ${theme.form.errorColor}` }, error: {} }); //#endregion export { staticClasses, useClasses };