@chynna/react-calendar
Version:
A flexible and feature-rich calendar component library for React applications with drag-and-drop support, multiple views (Day, Week, Month, Year), and plugin architecture
17 lines (16 loc) • 404 B
TypeScript
import React from 'react';
export interface ColorOption {
label: string;
value: string;
}
export interface ColorPickerProps {
options: ColorOption[];
value: string;
onChange: (value: string) => void;
}
/**
* ColorPicker Component
* Used to select label colors in calendar or task systems
*/
export declare const ColorPicker: React.FC<ColorPickerProps>;
export default ColorPicker;