react-cron-generator
Version:
A powerful React component for building cron expressions with support for both Unix (5 fields) and Quartz (7 fields) formats. Features validation, format conversion, TypeScript support, and accessibility.
17 lines • 456 B
TypeScript
import React from 'react';
type DaySelectProp = {
disabled?: boolean;
onChange(value: null | string): void;
value: string;
multi?: false;
onFocus?: () => void;
} | {
multi: true;
disabled?: boolean;
onChange(value: string[]): void;
value: string[];
onFocus?: () => void;
};
declare const DaySelect: React.FunctionComponent<DaySelectProp>;
export default DaySelect;
//# sourceMappingURL=index.d.ts.map