const HeartIcon = `export const HeartIcon = ({ size, height, width, ...props }) => { // avoid passing non-DOM attributes to svg const {isSelected, isIndeterminate, disableAnimation, ...otherProps} = props; return ( ); }; `; const PlusIcon = `export const PlusIcon = ({ size, height, width, ...props }) => { // avoid passing non-DOM attributes to svg const {isSelected, isIndeterminate, disableAnimation, ...otherProps} = props; return ( ); };`; const App = `import {Checkbox} from "@nextui-org/react"; import {HeartIcon} from './HeartIcon.jsx'; import {PlusIcon} from './PlusIcon.jsx'; export default function App() { return (
}>Option } color="warning">Option
); }`; const react = { "/App.jsx": App, "/HeartIcon.jsx": HeartIcon, "/PlusIcon.jsx": PlusIcon, }; export default { ...react, };