mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 11:10:01 +08:00
fix icon theme code style
This commit is contained in:
parent
fd81e4575c
commit
c7069b27fe
@ -320,7 +320,7 @@ class RangePicker extends React.Component<any, RangePickerState> {
|
||||
type="close-circle"
|
||||
className={`${prefixCls}-picker-clear`}
|
||||
onClick={this.clearSelection}
|
||||
theme={'filled'}
|
||||
theme="filled"
|
||||
/>
|
||||
) : null;
|
||||
|
||||
|
@ -115,7 +115,7 @@ class WeekPicker extends React.Component<any, any> {
|
||||
type="close-circle"
|
||||
className={`${prefixCls}-picker-clear`}
|
||||
onClick={this.clearSelection}
|
||||
theme={'filled'}
|
||||
theme="filled"
|
||||
/>
|
||||
) : null;
|
||||
const input = ({ value }: { value: moment.Moment | undefined }) => {
|
||||
|
@ -162,7 +162,7 @@ export default function createPicker(TheCalendar: React.ComponentClass): any {
|
||||
type="close-circle"
|
||||
className={`${prefixCls}-picker-clear`}
|
||||
onClick={this.clearSelection}
|
||||
theme={'filled'}
|
||||
theme="filled"
|
||||
/>
|
||||
) : null;
|
||||
|
||||
|
@ -26,7 +26,7 @@ export default class Rate extends React.Component<RateProps, any> {
|
||||
|
||||
static defaultProps = {
|
||||
prefixCls: 'ant-rate',
|
||||
character: <Icon type="star" />,
|
||||
character: <Icon type="star" theme="filled" />,
|
||||
};
|
||||
|
||||
private rcRate: any;
|
||||
|
@ -179,7 +179,7 @@ export default class Tree extends React.Component<TreeProps, any> {
|
||||
<Icon
|
||||
type={expanded ? 'minus-square' : 'plus-square'}
|
||||
className={`${prefixCls}-switcher-line-icon`}
|
||||
theme={'outlined'}
|
||||
theme="outlined"
|
||||
/>
|
||||
);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user