1.0.2 • Published 8 months ago
pri-component-test-v1 v1.0.2
Package Name
This package is pri group test components and composable APIs package
Installation
npm install pri-component-test-v1
```markdown
## Usage
```javascript
import { FormGroup, Input, Button, useValidation, ValidateSymbol, ErrorsSymbol } from 'pri-component-test-v1';
import 'pri-component-test-v1/dist/style.css';
<form>
<FormGroup
label="First Name"
forField="firstname"
>
<Input
v-model="userInfo.firstname"
field="firstname"
type="text"
required
/>
</FormGroup>
<FormGroup
label="Last Name"
forField="lastname"
>
<Input
v-model="userInfo.lastname"
field="lastname"
required
type="text"
/>
</FormGroup>
<FormGroup
label="Email"
forField="email"
>
<Input
v-model="userInfo.email"
field="email"
type="email"
/>
</FormGroup>
<Button
:title="userInfo.email"
type="submit"
:disabled="button_disabled"
>
</Button>
<!-- More fields -->
</form>