import { ArrowDownSmallIcon } from '@blocksuite/icons/rc'; import { assignInlineVars } from '@vanilla-extract/dynamic'; import clsx from 'clsx'; import type { CSSProperties, HTMLAttributes, PropsWithChildren, ReactNode, } from 'react'; import { forwardRef } from 'react'; import { MenuIcon } from './menu-icon'; import * as styles from './styles.css'; import { triggerWidthVar } from './styles.css'; export interface MenuTriggerProps extends PropsWithChildren, HTMLAttributes { width?: CSSProperties['width']; disabled?: boolean; noBorder?: boolean; status?: 'error' | 'success' | 'warning' | 'default'; size?: 'default' | 'large' | 'extraLarge'; preFix?: ReactNode; endFix?: ReactNode; block?: boolean; } export const MenuTrigger = forwardRef( ( { disabled, noBorder = false, className, status = 'default', size = 'default', preFix, endFix, block = false, children, width, style = {}, ...otherProps }, ref ) => { return ( ); } ); MenuTrigger.displayName = 'MenuTrigger';