mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-23 15:08:34 +08:00
18 lines
435 B
TypeScript
18 lines
435 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" style={{ color: '#1877F2' }} />
|
|
<IconFont type="icon-twitter" />
|
|
</Space>
|
|
);
|
|
|
|
export default App;
|