Commit bbaba877 authored by ι™ˆεΈ…'s avatar ι™ˆεΈ…

doc: fix copy error

parent 67b0dcd9
......@@ -19,7 +19,7 @@ const BlockCodeView: React.SFC<{
const blockUrl = `npx umi block add ${firstUpperCase(url)} --path=${url}`;
return (
<div className={styles['copy-block-view']}>
<Typography.Paragraph copyable>
<Typography.Paragraph copyable={{ text: blockUrl }}>
<code className={styles['copy-block-code']}>{blockUrl}</code>
</Typography.Paragraph>
</div>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment