import classNames from 'classnames'; import CoolHover from '../CoolHover/CoolHover'; import styles from './Button.module.css'; /** * A reusable component for buttons. * * @param {boolean} primary - Whether the button is primary or not. Defaults to false. * @param {boolean} icon - Whether the button only contains an icon. Defaults to false. * @param {boolean} compact - Make the button more compact. Defaults to false. * @param className - An optional classname. * @param {string} style - Custom styles to apply to the button. * * @example * * */ export default function Button(ctx) { const { children, className, primary, icon, compact, onClick, style } = ctx; return ( ); }