File size: 633 Bytes
1e92f2d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
```jsx
<Form.Input name='username' placeholder='Username' />
```

#### Input Label
Render an input wrapped in a Form.Group with a Label

```jsx
<Form.Input label='username' placeholder='Username' />
```

is the same as

```jsx
<Form.Group>
  <Form.Label>Username</Form.Label>
  <Form.Input placeholder="Username" />
</Form.Group>
```

#### Input Icons

```jsx
<Form.Group label="Input Icon">
  <Form.Input icon="user" placeholder="Username" />
</Form.Group>
```

#### Append the Icon

```jsx
<Form.Group label="Input Icon">
  <Form.Input
    icon="search"
    placeholder="Search for..."
    position="append"
  />
</Form.Group>
```