Files
olons_server/web/src/components/DatePicker/props.ts
T

23 lines
522 B
TypeScript

import type { PropType } from 'vue';
import { NDatePicker } from 'naive-ui';
export const basicProps = {
...NDatePicker.props,
formValue: {
type: String as PropType<string> | undefined | Date,
default: () => '',
},
startValue: {
type: String as PropType<string> | undefined | Date,
default: () => '',
},
endValue: {
type: String as PropType<string> | undefined | Date,
default: () => '',
},
showShortcuts: {
type: Boolean as PropType<boolean>,
default: () => true,
},
};