mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-05 09:49:57 +08:00
18 lines
406 B
TypeScript
18 lines
406 B
TypeScript
|
import React from 'react';
|
||
|
import { createFromIconfontCN } from '@ant-design/icons';
|
||
|
import { Space } from 'antd';
|
||
|
|
||
|
const IconFont = createFromIconfontCN({
|
||
|
scriptUrl: '//at.alicdn.com/t/font_8d5l8fzk5b87iudi.js',
|
||
|
});
|
||
|
|
||
|
const App: React.FC = () => (
|
||
|
<Space>
|
||
|
<IconFont type="icon-tuichu" />
|
||
|
<IconFont type="icon-facebook" />
|
||
|
<IconFont type="icon-twitter" />
|
||
|
</Space>
|
||
|
);
|
||
|
|
||
|
export default App;
|