UNPKG

woi-react-components

Version:

This project requires NodeJS (version 18 or later) and NPM. [Node](http://nodejs.org/) and [NPM](https://npmjs.org/) are really easy to install. To make sure you have them available on your machine, try running the following command. ```sh $ npm -v &

13 lines (10 loc) 602 B
// Import types for each component import type { WOICheckBoxProps } from './dist/components/WOICheckBox/index.js'; import type { TextFieldProps } from './dist/components/WOITextField/index.js'; import type { WOIRadioButtonProps } from './dist/components/WOIRadioButton/index.js'; // Declare the components with their respective prop types declare const WOIRadioButton: React.FC<WOIRadioButtonProps>; declare const WOITextField: React.FC<TextFieldProps>; declare const WOICheckBox: React.FC<WOICheckBoxProps>; // Export the components export { WOIRadioButton, WOICheckBox, WOITextField };