mirror of
https://gitlab.nic.cz/turris/reforis/foris-js.git
synced 2025-04-19 08:06:40 +02:00
Add info about CustomizationContext to the docs
This commit is contained in:
parent
46fe75d3cf
commit
aeabc0bf06
3
src/customizationContext/CustomizationContext.md
Normal file
3
src/customizationContext/CustomizationContext.md
Normal 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.
|
@ -51,6 +51,12 @@ module.exports = {
|
|||||||
sectionDepth: 1,
|
sectionDepth: 1,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
name: "Customization Context",
|
||||||
|
components: ["src/customizationContext/CustomizationContext.js"],
|
||||||
|
exampleMode: "expand",
|
||||||
|
usageMode: "expand",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: "Bootstrap components",
|
name: "Bootstrap components",
|
||||||
description: "Set of bootstrap components.",
|
description: "Set of bootstrap components.",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user