thaidatepicker-react
Version:
Thaidatepicker-react is a component for ReactJS that likes other DatePicker, but all we need is Buddhist Year (25XX - aka Thai Year) come with the right render day (example: Sat, 29 Feb 2020 must be equal to Sat, 29 Feb 2563) so I wish this component will
11 lines (10 loc) • 481 B
TypeScript
export default localize;
declare namespace localize {
export { ordinalNumber };
export let era: (dirtyIndex: any, dirtyOptions: any) => any;
export let quarter: (dirtyIndex: any, dirtyOptions: any) => any;
export let month: (dirtyIndex: any, dirtyOptions: any) => any;
export let day: (dirtyIndex: any, dirtyOptions: any) => any;
export let dayPeriod: (dirtyIndex: any, dirtyOptions: any) => any;
}
declare function ordinalNumber(dirtyNumber: any): number;