UNPKG

reablocks

Version:
28 lines (26 loc) 768 B
import { FC } from 'react'; export interface ColorBlockProps { name: string; color: string; className?: string; } export declare const ColorBlock: FC<ColorBlockProps>; interface ColorPaletteBlockProps { name: string; color: string; className?: string; showName?: boolean; } export declare const ColorPaletteBlock: FC<ColorPaletteBlockProps>; export interface ColorPaletteBlocksProps { name: string; colors: string | Record<string, string>; className?: string; token?: string | null; showNames?: boolean; } export declare const ColorPaletteBlocks: FC<ColorPaletteBlocksProps>; export declare const ColorBlocks: ({ colors }: { colors: Record<string, string>; }) => import("react/jsx-runtime").JSX.Element; export {};