mirror of
https://github.com/ant-design/ant-design.git
synced 2025-08-05 15:39:45 +08:00
chore: remove any
This commit is contained in:
parent
cc8d8b05aa
commit
0d932f79b8
@ -147,7 +147,7 @@ export default class Header extends React.Component<HeaderProps, any> {
|
||||
type === 'month'
|
||||
? this.getMonthSelectElement(prefixCls, value.month(), this.getMonthsLocale(value))
|
||||
: null;
|
||||
const size = (fullscreen ? 'default' : 'small') as any;
|
||||
const size = fullscreen ? 'default' : 'small';
|
||||
const typeSwitch = (
|
||||
<Group onChange={this.onTypeChange} value={type} size={size}>
|
||||
<Button value="month">{locale.month}</Button>
|
||||
|
Loading…
Reference in New Issue
Block a user