UNPKG

raw3d-ui

Version:

A 3D UI component library built for the Log It Raw community, starting with a mechanical keycap button.

25 lines (24 loc) 674 B
/** * Props for the MuteSwitch component. * @interface MuteSwitchProps * @property {string} [className] - Additional CSS classes for customization. Optional. */ interface MuteSwitchProps { className?: string; } /** * A toggle button to mute or unmute sound effects. * @component * @param {MuteSwitchProps} props - The properties for the MuteSwitch component. * @returns {JSX.Element} The rendered mute switch. * @example * ```tsx * import { MuteSwitch } from 'raw3d-ui'; * * function App() { * return <MuteSwitch />; * } * ``` */ export declare const MuteSwitch: ({ className }: MuteSwitchProps) => import("react/jsx-runtime").JSX.Element; export {};