Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | 2x 2x 2x 2x 2x | import Icon from 'antd/lib/icon'; import AntdSpin from 'antd/lib/spin'; import * as React from 'react'; interface IProps { size: number; } const Spin = ({ size }: IProps) => ( <AntdSpin indicator={<Icon type="loading" style={{ fontSize: size }} spin={true} />} /> ); export default Spin; |