UNPKG

fui-fancyui

Version:
16 lines (15 loc) 444 B
import { styled as t } from "styled-components"; import { disabledStyle as d } from "../../../design/designFunctions/disabledStyle/disableStyle.js"; const o = t.fieldset` width: 100%; border: none; padding: 0; margin: 0; ${({ $disabled: e }) => e && d} `, r = t.legend` margin: 0 ${({ $alignLegend: e }) => e === "center" ? "auto" : "0"} ${({ theme: e }) => e.spacing.xxs}; `; export { o as StyledFieldset, r as StyledLegend };