From a971e8ce1a31bcc5164086766b5e84bfcad95522 Mon Sep 17 00:00:00 2001 From: Aleksandr Gumroian Date: Thu, 10 Feb 2022 16:03:41 +0100 Subject: [PATCH] Add info about CustomizationContext to the docs --- src/customizationContext/CustomizationContext.md | 3 +++ styleguide.config.js | 6 ++++++ 2 files changed, 9 insertions(+) create mode 100644 src/customizationContext/CustomizationContext.md diff --git a/src/customizationContext/CustomizationContext.md b/src/customizationContext/CustomizationContext.md new file mode 100644 index 0000000..1d3e313 --- /dev/null +++ b/src/customizationContext/CustomizationContext.md @@ -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. diff --git a/styleguide.config.js b/styleguide.config.js index 295c93a..f87ee2e 100644 --- a/styleguide.config.js +++ b/styleguide.config.js @@ -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.",