Hex Core JS
    Preparing search index...

    Type Alias FileLinkProps

    FileLinkProps: {
        id?: string;
        name?: string;
        rel?: string;
        target?: string;
        title?: string;
    } & (
        | { file: { data: Blob; name?: string }; url?: undefined }
        | { file?: undefined; url: string }
    ) & Partial<ClassNameProps & StyleProps & ChildrenProps>

    Type Declaration

    • Optionalid?: string

      HTML id of the element.

    • Optionalname?: string

      Name of the file (for the download).

    • Optionalrel?: string

      HTML rel property on the link.

    • Optionaltarget?: string

      HTML target property on the link.

    • Optionaltitle?: string

      HTML title property on the link.

    • { file: { data: Blob; name?: string }; url?: undefined }
      • file: { data: Blob; name?: string }

        The file to link to.

      • Optionalurl?: undefined

        The URL of the file to link to.

    • { file?: undefined; url: string }
      • Optionalfile?: undefined

        The file to link to.

      • url: string

        The URL of the file to link to.