bpk-component-form-validation-css
v4.2.11
Published
Backpack form-validation component.
Downloads
26
Keywords
Readme
bpk-component-form-validation
Backpack form validation component.
Installation
npm install bpk-component-form-validation --save-dev
Usage
import React from 'react';
import BpkFormValidation from 'bpk-component-form-validation';
export default () => (
<BpkFormValidation id="my-form-validation" expanded>
A validation message.
</BpkFormValidation>,
)
Props
| Property | PropType | Required | Default Value | | -------------- | -------- | -------- | ------------- | | children | node | true | - | | id | string | true | - | | expanded | bool | true | - | | isCheckbox | bool | false | false | | className | string | false | null | | containerProps | object | false | {} |