1
0
mirror of https://gitlab.nic.cz/turris/reforis/foris-js.git synced 2024-12-26 00:21:36 +01:00

Add info about CustomizationContext to the docs

This commit is contained in:
Aleksandr Gumroian 2022-02-10 16:03:41 +01:00
parent 1297d8446c
commit a971e8ce1a
No known key found for this signature in database
GPG Key ID: 9E77849C64F0A733
2 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,3 @@
It provides customization context to the children. `CustomizationContext` allows
using `useCustomizationContext` in components to check if the reForis UI is
customized or not for specific devices.

View File

@ -34,6 +34,12 @@ module.exports = {
exampleMode: "expand",
usageMode: "expand",
},
{
name: "Customization Context",
components: ["src/customizationContext/CustomizationContext.js"],
exampleMode: "expand",
usageMode: "expand",
},
{
name: "Bootstrap components",
description: "Set of bootstrap components.",