mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-22 06:18:30 +08:00
22 lines
458 B
TypeScript
22 lines
458 B
TypeScript
|
import type { FC } from 'react';
|
||
|
import React from 'react';
|
||
|
import DumiLiveEditor from 'dumi/theme-default/slots/LiveEditor';
|
||
|
|
||
|
const LiveEditor: FC = () => (
|
||
|
<DumiLiveEditor
|
||
|
style={{
|
||
|
fontSize: 13,
|
||
|
lineHeight: 2,
|
||
|
fontFamily: `'Lucida Console', Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace`,
|
||
|
}}
|
||
|
padding={{
|
||
|
top: 12,
|
||
|
right: 16,
|
||
|
bottom: 12,
|
||
|
left: 16,
|
||
|
}}
|
||
|
/>
|
||
|
);
|
||
|
|
||
|
export default LiveEditor;
|