12
packages/schemas/features/blocks/inputs/date/constants.ts
Normal file
12
packages/schemas/features/blocks/inputs/date/constants.ts
Normal file
@ -0,0 +1,12 @@
|
||||
import { defaultButtonLabel } from '../constants'
|
||||
import { DateInputBlock } from './schema'
|
||||
|
||||
export const defaultDateInputOptions = {
|
||||
hasTime: false,
|
||||
isRange: false,
|
||||
labels: { button: defaultButtonLabel, from: 'From:', to: 'To:' },
|
||||
format: 'dd/MM/yyyy',
|
||||
formatWithTime: 'dd/MM/yyyy HH:mm',
|
||||
} as const satisfies DateInputBlock['options'] & {
|
||||
formatWithTime: string
|
||||
}
|
Reference in New Issue
Block a user