@hmcts/annotation-ui-lib
Version:
PDF Viewer and ability to highlight text with and comment tracking
40 lines • 1.41 kB
JSON
[
{
"name": "items",
"type": "array",
"required": true,
"description": "Array of breadcrumbs item objects.",
"params": [
{
"name": "text",
"type": "string",
"required": true,
"description": "If `html` is set, this is not required. Text to use within the breadcrumbs item. If `html` is provided, the `text` argument will be ignored."
},
{
"name": "html",
"type": "string",
"required": true,
"description": "If `text` is set, this is not required. HTML to use within the breadcrumbs item. If `html` is provided, the `text` argument will be ignored."
},
{
"name": "href",
"type": "string",
"required": false,
"description": "Link for the breadcrumbs item. If not specified, breadcrumbs item is a normal list item."
}
]
},
{
"name": "classes",
"type": "string",
"required": false,
"description": "Classes to add to the breadcrumbs container."
},
{
"name": "attributes",
"type": "object",
"required": false,
"description": "HTML attributes (for example data attributes) to add to the breadcrumbs container."
}
]