mirror of
https://gitlab.nic.cz/turris/reforis/foris-js.git
synced 2024-11-14 17:35:35 +01:00
Add info about CustomizationContext to the docs
This commit is contained in:
parent
1297d8446c
commit
a971e8ce1a
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.
|
|
@ -34,6 +34,12 @@ module.exports = {
|
||||||
exampleMode: "expand",
|
exampleMode: "expand",
|
||||||
usageMode: "expand",
|
usageMode: "expand",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
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…
Reference in New Issue
Block a user