pure
    Preparing search index...

    Type Alias FsFileOpenType

    type FsFileOpenType = {
        accept: (FsFileOpenTypeAccept | string)[];
        description?: string;
    }
    Index

    Properties

    Properties

    accept: (FsFileOpenTypeAccept | string)[]

    List of file mime types or extensions to accept for this file type

    String elements are file extensions, with the "." prefix. More context can be provided with an object element with mime type and extensions to have better file type descriptions in the picker (if supported).

    description?: string

    Optional description for the type, which may display in the file picker

    In unsupported implementations, this will be ignored.