import clsx from 'clsx'; import { CProps } from '@/components/props'; import { globals } from '@/utils/constants'; interface DropdownButtonProps extends CProps.Button { /** Icon to display first (not used if children are provided). */ icon?: React.ReactNode; /** Text to display second (not used if children are provided). */ text?: string; /** Custom children to display. */ children?: React.ReactNode; } /** * `button` with optional text, icon, and click functionality styled for use in a {@link Dropdown}. * It supports optional children for custom content or the default text/icon display. */ function DropdownButton({ icon, text, className, title, titleHtml, hideTitle, onClick, children, ...restProps }: DropdownButtonProps) { return ( ); } export default DropdownButton;