UNPKG

@test-party/contrast-color-picker

Version:

🎨 @test-party/contrast-color-picker is a lightweight, customizable color contrast picker designed for React applications. Built with accessibility in mind, it helps developers ensure compliance with WCAG color contrast standards by offering real-time fee

12 lines (11 loc) • 404 B
/// <reference types="react" /> import { ColorInputBaseProps } from "../types"; interface HexColorInputProps extends ColorInputBaseProps { /** Enables `#` prefix displaying */ prefixed?: boolean; /** Allows `#rgba` and `#rrggbbaa` color formats */ alpha?: boolean; label: string; } export declare const HexColorInput: (props: HexColorInputProps) => JSX.Element; export {};