@rhc-shared-components/form-select-typeahead
v1.0.0
Published
project description
Keywords
Readme
@rhc-shared-components/form-select-typeahead
Reusable FormSelectTypeahead component with Formik integration and PatternFly styling.
Installation
npm install @rhc-shared-components/form-select-typeaheadUsage
import { FormSelectTypeahead } from "@rhc-shared-components/form-select-typeahead";
function App() {
return <FormSelectTypeahead
options={[
{
value: "New York",
description: "New York",
content: "New York",
},
{
value: "North Carolina",
description: "North Carolina",
content: "North Carolina",
},
]}
name={"selectionId"}
placeholder={"Choose an option"}
/>;
}Development
yarn dev # Start development server
yarn build # Build the package
yarn lint # Run linter
yarn lint-fix # Auto-fix lint issues
yarn test # Run tests