ant-design/components/date-picker/PickerButton.tsx
Fatpandac 77b351f68f
fix: ok button of the DatePicker becomes compacted when used with Space.Compact (#46769)
* fix: ok button of the DatePicker becomes compacted when used with Space.Compact

* fix: break CSS selector

* fix: break the compact context on the panel

* chore: update test
2024-01-16 14:02:31 +08:00

8 lines
232 B
TypeScript

import * as React from 'react';
import Button from '../button';
import type { ButtonProps } from '../button';
export default function PickerButton(props: ButtonProps) {
return <Button size="small" type="primary" {...props} />;
}