-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Add size prop for FormLabel component * fix lint issues * adding test for FormLabel size prop * merging column and size props * fix column prop for FormLabel component Co-authored-by: raghavi-k <raghavi.k@gofrugal.com>
- Loading branch information
Showing
5 changed files
with
63 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<Form.Group> | ||
<Form.Row> | ||
<Form.Label column="lg" lg={2}> | ||
Large Text | ||
</Form.Label> | ||
<Col> | ||
<Form.Control size="lg" type="text" placeholder="Large text" /> | ||
</Col> | ||
</Form.Row> | ||
<br /> | ||
<Form.Row> | ||
<Form.Label column lg={2}> | ||
Normal Text | ||
</Form.Label> | ||
<Col> | ||
<Form.Control type="text" placeholder="Normal text" /> | ||
</Col> | ||
</Form.Row> | ||
<br /> | ||
<Form.Row> | ||
<Form.Label column="sm" lg={2}> | ||
Small Text | ||
</Form.Label> | ||
<Col> | ||
<Form.Control size="sm" type="text" placeholder="Small text" /> | ||
</Col> | ||
</Form.Row> | ||
</Form.Group>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<> | ||
<Form.Group> | ||
<Form.Control size="lg" type="text" placeholder="Large text" /> | ||
<br /> | ||
<Form.Control type="text" placeholder="Normal text" /> | ||
<br /> | ||
<Form.Control size="sm" type="text" placeholder="Small text" /> | ||
</>; | ||
</Form.Group>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters