import { Icon } from 'antd'; import React from 'react'; import style from './index.less'; const BlockChecbox = ({ value, onChange, list }) => { return (
{list.map(item => { return (
{ onChange(item.key); }} > {item.key}
); })}
); }; export default BlockChecbox;