fix icon theme code style

This commit is contained in:
HeskeyBaozi 2018-09-02 18:46:53 +08:00 committed by 偏右
parent fd81e4575c
commit c7069b27fe
5 changed files with 5 additions and 5 deletions

View File

@ -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;

View File

@ -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 }) => {

View File

@ -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;

View File

@ -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;

View File

@ -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 {