import PropTypes from 'prop-types' import { theme } from 'antd' import CheckIcon from '../../Icons/CheckIcon' import XMarkIcon from '../../Icons/XMarkIcon' const ICON_STYLE = { fontSize: 7, color: '#ffffff' } const PermissionCheckbox = ({ checked = false, indeterminate = false, mixed = false, disabled = false, onChange }) => { const { token } = theme.useToken() const state = mixed ? 'mixed' : indeterminate ? 'inherit' : checked ? 'allow' : 'deny' return ( ) } PermissionCheckbox.propTypes = { checked: PropTypes.bool, indeterminate: PropTypes.bool, mixed: PropTypes.bool, disabled: PropTypes.bool, onChange: PropTypes.func } export default PermissionCheckbox