-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
36 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 |
---|---|---|
@@ -1,11 +1,19 @@ | ||
``` | ||
<Checkbox label="Choice A one two three four five six seven eight nine ten eleven twelve" /> | ||
<Box tag="fieldset" between={2}> | ||
<legend>Show me deals for...</legend> | ||
<Checkbox label="Mobility" /> | ||
<Checkbox label="Internet" /> | ||
<Checkbox label="TV" /> | ||
<Checkbox label="Home Phone" /> | ||
</Box> | ||
``` | ||
|
||
``` | ||
<Checkbox feedback='error' label="Choice B one two three four five six seven eight nine ten eleven twelve" /> | ||
``` | ||
|
||
### Getting feedback for an unchecked checkbox | ||
|
||
Use the feedback attribute to give the user feedback regarding a missed checked checkbox by highlighting the label and checkbox element. | ||
|
||
|
||
``` | ||
<Checkbox disabled label="Choice C" /> | ||
<Checkbox label="I agree to the terms and conditions" feedback="error" /> | ||
``` |
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,3 +1,3 @@ | ||
```jsx | ||
<Image src="image-example.jpg" rounded="corners" width={300} height={300} /> | ||
<Image src="image-example.jpg" rounded="corners" width={300} height={300} alt="Image of co-workers collaborating" /> | ||
``` |