-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[docs] Use material-ui-icons package (#6390)
* [docs] Use material-ui-icons package, remove unneeded svg-icons * [docs] Replace font-icon with SvgIcons in IconButton * [docs] Replace Icon with material-ui-icons * [docs] Update style/icons docs * [Avatar] Fix failing test
- Loading branch information
1 parent
369813c
commit 4111f8f
Showing
58 changed files
with
171 additions
and
491 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
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
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
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 |
---|---|---|
|
@@ -16,6 +16,9 @@ import Avatar from 'material-ui/Avatar'; | |
import IconButton from 'material-ui/IconButton'; | ||
import Text from 'material-ui/Text'; | ||
import { red } from 'material-ui/styles/colors'; | ||
import FavoriteIcon from 'material-ui-icons/Favorite'; | ||
import ShareIcon from 'material-ui-icons/Share'; | ||
import ExpandMoreIcon from 'material-ui-icons/ExpandMore'; | ||
import paellaImage from 'docs/site/assets/images/[email protected]'; | ||
|
||
const styleSheet = createStyleSheet('RecipeReviewCard', (theme) => ({ | ||
|
@@ -64,16 +67,20 @@ export default class RecipeReviewCard extends Component { | |
</Text> | ||
</CardContent> | ||
<CardActions actionSpacing={false}> | ||
<IconButton>favorite</IconButton> | ||
<IconButton>share</IconButton> | ||
<IconButton> | ||
<FavoriteIcon /> | ||
</IconButton> | ||
<IconButton> | ||
<ShareIcon /> | ||
</IconButton> | ||
<div className={classes.flexGrow} /> | ||
<IconButton | ||
className={classnames(classes.expand, { | ||
[classes.expandOpen]: this.state.expanded, | ||
})} | ||
onClick={this.handleExpandClick} | ||
> | ||
expand_more | ||
<ExpandMoreIcon /> | ||
</IconButton> | ||
</CardActions> | ||
<Collapse in={this.state.expanded} transitionDuration="auto" unmountOnExit> | ||
|
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
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
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
Oops, something went wrong.