1
0
mirror of https://gitlab.nic.cz/turris/reforis/foris-js.git synced 2024-12-24 00:01: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 46fe75d3cf
commit aeabc0bf06
No known key found for this signature in database
GPG Key ID: 5F29B986B9AD1471
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

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