{
  "id": "uilib/extensions/forms/Value/Upload",
  "name": "Upload",
  "description": "`Value.Upload` is a value component for displaying a list of files.",
  "group": "extensions",
  "slug": "/uilib/extensions/forms/Value/Upload/",
  "props": [
    {
      "name": "download",
      "doc": "Causes the browser to treat all listed files as downloadable instead of opening them in a new browser tab or window. Defaults to `false`.",
      "type": "boolean",
      "status": "optional",
      "defaultValue": null
    },
    {
      "name": "displaySize",
      "doc": "Can be used to display the file size of the file. Defaults to `false`.",
      "type": "boolean",
      "status": "optional",
      "defaultValue": null
    },
    {
      "name": "value",
      "doc": "The value to format. Can be given as `children` instead.",
      "type": [
        "Array<React.ReactNode>"
      ],
      "status": "optional",
      "defaultValue": null
    },
    {
      "name": "children",
      "doc": "The children to format.",
      "type": "React.ReactNode",
      "status": "optional",
      "defaultValue": null
    },
    {
      "name": "format",
      "doc": "Formatting options for the value when variant is `text`. See the [Intl.ListFormat](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/ListFormat) documentation.",
      "type": "Intl.ListFormatOptions",
      "status": "optional",
      "defaultValue": null
    },
    {
      "name": "variant",
      "doc": "Defines if the value should be displayed in list format (`ol`, `ul`) or regular text format in one line. Defaults to `text`.",
      "type": [
        "ol",
        "ul",
        "text"
      ],
      "status": "optional",
      "defaultValue": null
    },
    {
      "name": "listType",
      "doc": "Defines the type of list styling used for list variants. Used together with variant `ol` and `ul`. Variant `ol`: `a`, `A`, `i`, `I` and `1`. Variant `ul`: `circle`, `disc` and `square`. Defaults to `undefined`.",
      "type": [
        "a",
        "A",
        "i",
        "I",
        "1",
        "circle",
        "disc",
        "square",
        "unstyled",
        "undefined"
      ],
      "status": "optional",
      "defaultValue": null
    },
    {
      "name": "inside",
      "doc": "Defines the position of the marker.",
      "type": "boolean",
      "status": "optional",
      "defaultValue": null
    },
    {
      "name": "outside",
      "doc": "Defines the position of the marker (default).",
      "type": "boolean",
      "status": "optional",
      "defaultValue": null
    },
    {
      "name": "nested",
      "doc": "Will ensure a nested structure of several lists.",
      "type": "boolean",
      "status": "optional",
      "defaultValue": null
    },
    {
      "name": "innerRef",
      "doc": "Send along a custom React Ref.",
      "type": "React.RefObject",
      "status": "optional",
      "defaultValue": null
    }
  ],
  "events": [
    {
      "name": "onFileClick",
      "doc": "Will be called once a file gets clicked on by the user. Access the clicked file with `{ fileItem }`. When providing this prop, the file will be rendered as a button instead of an anchor or plain text.",
      "type": "function",
      "status": "optional",
      "defaultValue": null
    }
  ],
  "related": [
    "Space"
  ],
  "checksum": "a2b702170b8d052ba16538ab0b4f764d95196ddcf36327c047af27811d9d648b",
  "source": {
    "repo": "https://github.com/dnbexperience/eufemia",
    "file": "packages/dnb-eufemia/src/extensions/forms/Value/Upload/Upload.tsx",
    "permalink": "https://github.com/dnbexperience/eufemia/blob/main/packages/dnb-eufemia/src/extensions/forms/Value/Upload/Upload.tsx"
  },
  "sources": {
    "entry": {
      "local": "src/docs/uilib/extensions/forms/Value/Upload.mdx",
      "public": "https://7054fffd.eufemia-e25.pages.dev/uilib/extensions/forms/Value/Upload/"
    },
    "props": {
      "local": "src/docs/uilib/extensions/forms/Value/Upload/properties.mdx",
      "public": "https://7054fffd.eufemia-e25.pages.dev/uilib/extensions/forms/Value/Upload/properties/"
    },
    "events": {
      "local": "src/docs/uilib/extensions/forms/Value/Upload/events.mdx",
      "public": "https://7054fffd.eufemia-e25.pages.dev/uilib/extensions/forms/Value/Upload/events/"
    },
    "demos": {
      "local": "src/docs/uilib/extensions/forms/Value/Upload/demos.mdx",
      "public": "https://7054fffd.eufemia-e25.pages.dev/uilib/extensions/forms/Value/Upload/demos/"
    }
  },
  "version": "0.0.0-development",
  "generatedAt": "2025-12-18T10:04:00.850Z",
  "schemaVersion": 1
}
