mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-30 20:38:45 +08:00
77b351f68f
* 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
8 lines
232 B
TypeScript
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} />;
|
|
}
|