Closed headwindz closed 2 years ago
更改 demo 解析方式以及相应的 sandbox/codepen 生成。 在 demo 中移除 ReactDOM 以及 CONTAINER,这样能更好地支持 demo中的 typescript 校验
import { Button } from '@arco-design/web-react'; ReactDOM.render(<Button />, CONTAINER);
变更为
import { Button } from '@arco-design/web-react'; const App = () => { return <Button type="primary"> Primary </Button>; }; export default App;
feature
master
Types of changes
Background and context
更改 demo 解析方式以及相应的 sandbox/codepen 生成。 在 demo 中移除 ReactDOM 以及 CONTAINER,这样能更好地支持 demo中的 typescript 校验
Solution
变更为
How is the change tested?
Changelog
Checklist:
feature
branch and others should be submitted tomaster
branch)Other information