UNPKG

@hmcts/annotation-ui-lib

Version:

PDF Viewer and ability to highlight text with and comment tracking

100 lines 3.78 kB
[ { "name": "meta", "type": "object", "required": false, "description": "Object containing options for the meta navigation.", "arguments": [ { "name": "items", "type": "array", "required": false, "description": "Array of items for use in the meta section of the footer.", "params": [ { "name": "text", "type": "string", "required": false, "description": "List item text in the meta section of the footer." }, { "name": "href", "type": "string", "required": false, "description": "List item href attribute in the meta section of the footer." }, { "name": "attributes", "type": "object", "required": false, "description": "HTML attributes (for example data attributes) to add to the anchor in the footer meta section." } ] } ] }, { "name": "navigation", "type": "array", "required": false, "description": "Array of items for use in the navigation section of the footer.", "arguments": [ { "name": "title", "type": "string", "required": false, "description": "Title for a section" }, { "name": "columns", "type": "integer", "required": false, "description": "Amount of columns to display items in navigation section of the footer." }, { "name": "items", "type": "array", "required": false, "description": "Array of items to display in the list in navigation section of the footer.", "arguments": [ { "name": "text", "type": "string", "required": false, "description": "List item text in the navigation section of the footer." }, { "name": "href", "type": "string", "required": false, "description": "List item href attribute in the navigation section of the footer. Both `text` and `href` attributes need to be present to create a link." }, { "name": "attributes", "type": "object", "required": false, "description": "HTML attributes (for example data attributes) to add to the anchor in the footer navigation section." } ] } ] }, { "name": "containerClasses", "type": "string", "required": false, "description": "Classes that can be added to the inner container, useful if you want to make the footer full width." }, { "name": "classes", "type": "string", "required": false, "description": "Classes to add to the footer component container." }, { "name": "attributes", "type": "object", "required": false, "description": "HTML attributes (for example data attributes) to add to the footer component container." } ]