passbolt-styleguide
Version:
Passbolt styleguide contains common styling assets used by the different sites, plugin, etc.
22 lines (18 loc) • 754 B
Markdown
```mermaid
%%{init: {'theme':'neutral'}}%%
classDiagram
class MetdataTypesSettingsLocalStorageContext{
+State~function~ get() MetadataTypesSettingsEntity
+State~array~ metadataTypeSettings
+State~function~ updateLocalStorage() Promise
}
class Global{
+withMetadataTypesSettingsLS(): MetadataTypesSettingsLocalStorageHOC
}
note for MetadataTypesSettingsLocalStorageHOC "The render should inject the context <br>LS context as well as the metadata types settings <br> held by the context"
class MetadataTypesSettingsLocalStorageHOC{
+render() JSX
}
Global-->MetadataTypesSettingsLocalStorageHOC
MetadataTypesSettingsLocalStorageHOC-->MetdataTypesSettingsLocalStorageContext
```