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

9 lines (8 loc) • 340 B
/// <reference types="react" /> import { RgbColor } from "../types"; import { ObjectColorInputBaseProps } from "../types"; interface RgbColorInputProps extends ObjectColorInputBaseProps<RgbColor> { label?: string; } export declare const RgbColorInput: ({ color, onChange, label }: RgbColorInputProps) => JSX.Element; export {};