How to use oc-template-react-compiler - 1 common examples

To help you get started, we’ve selected a few oc-template-react-compiler 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 opencomponents / oc-template-react / acceptance-components / react-app / app.js View on Github external
const { name } = this.state;
    return (
      <div>
        <h1 id="1">
          Hello {name}
        </h1>
        <p>component name: {getSetting("name")}</p>
        <p>component version: {getSetting("version")}</p>
        <p>registry baseUrl: {getSetting("baseUrl")}</p>
        <p>component staticPath: {getSetting("staticPath")}</p>
      </div>
    );
  }
}

export default withSettingProvider(withDataProvider(App));

oc-template-react-compiler

Compiler for the React OC template

MIT
Latest version published 6 days ago

Package Health Score

64 / 100
Full package analysis

Popular oc-template-react-compiler functions