This repository has been archived by the owner on Feb 27, 2020. It is now read-only.
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
9 changed files
with
3,112 additions
and
1,495 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,22 @@ | ||
Buttons are one of the most basic types of controls for interacting with an application. | ||
A sidebar goes by many different names (Material UI refers to "Drawer") | ||
|
||
#### Button Types | ||
#### Example | ||
|
||
```jsx | ||
<Button>Default</Button> | ||
<Button primary>Primary</Button> | ||
<Button destructive>Destructive</Button> | ||
``` | ||
|
||
#### Button Sizes | ||
|
||
```jsx | ||
<Button small>Small</Button> | ||
<Button>Normal</Button> | ||
<Button large>Large</Button> | ||
<div style={{position:'relative',height:'40px'}}> | ||
<Sidebar | ||
main={ | ||
<> | ||
<Sidebar.AppLogo | ||
icon={'U'} | ||
brand={'Jenkins'} | ||
name={'Design Language'} | ||
/> | ||
<Sidebar.Item icon={'B'}>Branches</Sidebar.Item> | ||
<Sidebar.Item icon={'C'}>Commits</Sidebar.Item> | ||
</> | ||
} | ||
footer={<Sidebar.Item icon={'F'}>Footer</Sidebar.Item>} | ||
/> | ||
</div> | ||
``` |
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
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
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.