mirror of
https://github.com/datahub-project/datahub.git
synced 2025-11-20 06:43:57 +00:00
15 lines
438 B
TypeScript
15 lines
438 B
TypeScript
|
|
import React from 'react';
|
||
|
|
import { VariantProps } from '../../types';
|
||
|
|
import { CommonVariantProps } from '../common/props';
|
||
|
|
import { DateSwitcherInput } from './components';
|
||
|
|
|
||
|
|
export const DateSwitcherVariantProps: VariantProps = {
|
||
|
|
...CommonVariantProps,
|
||
|
|
bordered: false,
|
||
|
|
allowClear: false,
|
||
|
|
format: 'll',
|
||
|
|
suffixIcon: null,
|
||
|
|
inputRender: (props) => <DateSwitcherInput {...props} />,
|
||
|
|
$noDefaultPaddings: true,
|
||
|
|
};
|