/** * Copyright 2025 Beijing Volcano Engine Technology Co., Ltd. All Rights Reserved. * SPDX-license-identifier: BSD-3-Clause */ import { ReactNode } from 'react'; // import { Button } from '@arco-design/web-react'; import CheckedSVG from '@/assets/img/Checked.svg'; import styles from './index.module.less'; interface IProps { className?: string; checked?: boolean; onClick?: () => void; icon?: string; label?: string | ReactNode; description?: string | ReactNode; suffix?: string | ReactNode; noStyle?: boolean; } function CheckBox(props: IProps) { const { noStyle, className = '', icon = '', checked, label, description, suffix, onClick, } = props; if (noStyle) { return (