UNPKG

fui-fancyui

Version:
17 lines (16 loc) 571 B
import { styled as i } from "styled-components"; import r from "../../../design/designFunctions/arrayToCssValues/arrayToCssValues.js"; import { boxShadow as e } from "../../../design/designFunctions/shadows/shadows.js"; import s from "../../atoms/FancyBox/FancyBox.js"; const t = i(s)` display: inline-block; box-sizing: border-box; padding: ${({ $padding: o }) => o ? r(o, "spacing") : ""}; border-radius: ${({ $borderRadius: o }) => o ? r(o, "borderRadius") : ""}; flex: 1; border: none; ${({ $shadow: o }) => o && e.sm}; `; export { t as StyledCard };