UNPKG

@brizy/ui

Version:
9 lines (8 loc) 233 B
import { ReactElement } from "react"; export type Props<T> = { id: T; hex: string; onChange: (v: T) => void; value: T; }; export declare const PaletteItem: <T>({ id, hex, onChange, value }: Props<T>) => ReactElement;