0.2.3 • Published 2 months ago

@rhc-shared-components/control-wrapper v0.2.3

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
2 months ago

@rhc-shared-components/control-wrapper

project description

NPM JavaScript Style Guide

Install

npm install --save @rhc-shared-components/control-wrapper

Usage

import React from 'react';

import { ControllerContext, ControllerContextProvider } from '@rhc-shared-components/control-wrapper';

export const Example =(props) => {
    return <ControllerContextProvider><YourComponent /></ControllerContextProvider>;
}


export const YourComponent = (props) => {
  const controlData = React.useContext(ControllerContext);
}

License

MIT © authorGithubUsername

0.2.3

2 months ago

0.2.2

2 months ago

0.2.1

1 year ago

0.1.8

2 years ago

0.1.7

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago