import React, { Component } from 'react'; import './index.less'; import { Icon } from 'antd'; import CheckboxItem from '../CheckboxItem'; import { Button } from '../Button'; export default class UserAction extends Component { onAction(key) { const { onAction } = this.props; if (onAction) onAction(key); } onAll(checked) { const { onAll } = this.props; if (onAll) onAll(checked); } render() { const { allCheckbox, help, btnList = [], right } = this.props; return (