UNPKG

@workday/canvas-kit-docs

Version:

Documentation components of Canvas Kit components

12 lines (11 loc) 623 B
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime"; import { Box } from '@workday/canvas-kit-react/layout'; const baseStyles = { color: 'blackPepper500', display: 'inline-block', margin: 'xxs', minHeight: 'xl', minWidth: '8rem', padding: 'xs', }; export const Depth = () => (_jsxs("div", { children: [_jsx(Box, { backgroundColor: "cinnamon300", depth: 1, ...baseStyles, children: "Depth 1" }), _jsx(Box, { backgroundColor: "sourLemon300", depth: 2, ...baseStyles, children: "Depth 2" }), _jsx(Box, { backgroundColor: "blueberry300", depth: 3, ...baseStyles, children: "Depth 3" })] }));