import { Ref } from "react"; import RAC from "react-aria-components"; import { AriaLabelingProps } from "@marigold/types"; type RemovedProps = 'className' | 'style'; export interface FileTriggerProps extends Omit, AriaLabelingProps { allowsMultiple?: RAC.FileTriggerProps['allowsMultiple']; acceptDirectory?: RAC.FileTriggerProps['acceptDirectory']; onSelect?: RAC.FileTriggerProps['onSelect']; /** * Label for the upload button */ label: string; disabled?: boolean; size?: 'default' | 'small' | (string & {}); /** * If true, the button stretches to fill the available width. */ fullWidth?: boolean; ref?: Ref; } export {};