1.0.0 • Published 1 year ago

@rhc-shared-components/control-wrapper v1.0.0

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
1 year 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

1.0.0

1 year ago

0.2.3

1 year ago

0.2.2

1 year ago

0.2.1

2 years ago

0.1.8

3 years ago

0.1.7

3 years ago

0.1.6

3 years ago

0.1.5

3 years ago

0.1.4

3 years ago