diff --git a/components/date-picker/RangePicker.tsx b/components/date-picker/RangePicker.tsx index 8af5f52c40..f86a70c10e 100644 --- a/components/date-picker/RangePicker.tsx +++ b/components/date-picker/RangePicker.tsx @@ -320,7 +320,7 @@ class RangePicker extends React.Component { type="close-circle" className={`${prefixCls}-picker-clear`} onClick={this.clearSelection} - theme={'filled'} + theme="filled" /> ) : null; diff --git a/components/date-picker/WeekPicker.tsx b/components/date-picker/WeekPicker.tsx index f3b5c78ff4..06aadcdf5a 100644 --- a/components/date-picker/WeekPicker.tsx +++ b/components/date-picker/WeekPicker.tsx @@ -115,7 +115,7 @@ class WeekPicker extends React.Component { type="close-circle" className={`${prefixCls}-picker-clear`} onClick={this.clearSelection} - theme={'filled'} + theme="filled" /> ) : null; const input = ({ value }: { value: moment.Moment | undefined }) => { diff --git a/components/date-picker/createPicker.tsx b/components/date-picker/createPicker.tsx index a27201519e..1a1cb2a8d5 100644 --- a/components/date-picker/createPicker.tsx +++ b/components/date-picker/createPicker.tsx @@ -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; diff --git a/components/rate/index.tsx b/components/rate/index.tsx index c8e5543047..7abd865d97 100644 --- a/components/rate/index.tsx +++ b/components/rate/index.tsx @@ -26,7 +26,7 @@ export default class Rate extends React.Component { static defaultProps = { prefixCls: 'ant-rate', - character: , + character: , }; private rcRate: any; diff --git a/components/tree/Tree.tsx b/components/tree/Tree.tsx index 781a87bb19..854273f86e 100644 --- a/components/tree/Tree.tsx +++ b/components/tree/Tree.tsx @@ -179,7 +179,7 @@ export default class Tree extends React.Component { ); } else {