Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 560 Bytes

color-swatch.mdx

File metadata and controls

24 lines (16 loc) · 560 Bytes

import { ColorSwatchDemos } from '@docs/demos'; import { Layout } from '@/layout'; import { MDX_DATA } from '@/mdx';

export default Layout(MDX_DATA.ColorSwatch);

Usage

withShadow

By default, ColorSwatch has an inner box-shadow to make it more visible on light backgrounds, you can disable it by setting withShadow={false} prop: