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) • 345 B
/// <reference types="react" /> import { HslaColor } from "../types"; import { ObjectColorInputBaseProps } from "../types"; interface HslaColorInputProps extends ObjectColorInputBaseProps<HslaColor> { label?: string; } export declare const HslaColorInput: ({ color, onChange, label }: HslaColorInputProps) => JSX.Element; export {};