How to use the umi-plugin-ui/lib/plugins/configuration.useConfigKey function in umi-plugin-ui

To help you get started, we’ve selected a few umi-plugin-ui examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github umijs / umi / packages / umi-plugin-react / src / ui.ts View on Github external
}).map(p => {
      const [haveKey, value] = useConfigKey(pluginConfig, p.name);
      if (haveKey) {
        p.value = value;
      }
      return p;
    });
  }

umi-plugin-ui

MIT
Latest version published 5 years ago

Package Health Score

66 / 100
Full package analysis

Similar packages