Skip to main content
Version: Next

Local Storage Loader

info

Please note that this content is under development and is not ready for implementation. This status message will be updated as content development progresses.

Description

The LocalStorageLoader component is responsible for loading data from local storage and providing it to nested components. It allows for the retrieval and use of previously stored data within the application.

Example

{
"name": "LocalStorageLoader",
"type": "EntryData",
"props": {
"storageKey": "steel_mill_1_dpps",
"nestedComponents": [
{
"name": "JsonForm",
"type": "EntryData",
"props": {
"schema": { /* ... */ },
"constructData": { /* ... */ }
}
}
]
}
}

Definitions

PropertyRequiredDescriptionType
nameYesThe name of the component(should be "LocalStorageLoader")String
typeYesThe type of the component (should be "EntryData")ComponentType
propsYesThe properties for the LocalStorageLoaderProps

Props

PropertyRequiredDescriptionType
storageKeyYesThe key used to retrieve data from local storageString
nestedComponentsYesAn array of components to be rendered with the loaded dataComponent[]