Skip to main content

readme


属性名类型是否必选描述
childrenReact.ReactNode按钮文本
type"primary" | "secondary"按钮类型

/src/components/HelloCodeTitle.js
function HelloCodeTitle(props) {
return <h1>你好,{props.name}</h1>;
}

playground

abc
<Button type="primary">LuoKing</Button>