mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-11-30 02:59:04 +08:00
bugfix: tfjs icon 3 to 4 (#20944)
This commit is contained in:
parent
9b14aa6ad2
commit
a46c0c3363
@ -217,10 +217,10 @@ class PicSearcher extends Component<PicSearcherProps, PicSearcherState> {
|
||||
<tbody>
|
||||
{icons.map((icon: iconObject) => {
|
||||
const { type } = icon;
|
||||
const iconName = type
|
||||
const iconName = `${type
|
||||
.split('-')
|
||||
.map(str => `${str[0].toUpperCase()}${str.slice(1)}`)
|
||||
.join('');
|
||||
.join('')}Outlined`;
|
||||
|
||||
return (
|
||||
<tr key={iconName}>
|
||||
|
Loading…
Reference in New Issue
Block a user