antd-mobile 自定义picker按钮样式

首先定义picker按钮样式

const CustomChildren = props => (
    

{props.extra}

);

然后使用

{console.log("onOK=>"+v);this.setState({ type: v })}} onChange={v => {console.log("onOK=>"+v+" "+v2type[v]);this.handleChange(v2type[v]);this.setState({ value: v })}} >
效果图

你可能感兴趣的:(antd-mobile 自定义picker按钮样式)