-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3214 from marmelab/ui-card
[RFR] Move Actions out of the Card
- Loading branch information
Showing
26 changed files
with
547 additions
and
437 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,36 @@ | ||
import React from 'react'; | ||
import Typography from '@material-ui/core/Typography'; | ||
import { makeStyles } from '@material-ui/core/styles'; | ||
|
||
const Aside = () => ( | ||
<div style={{ width: 200, margin: '1em' }}> | ||
<Typography variant="h6">App Users</Typography> | ||
<Typography variant="body2"> | ||
Eiusmod adipisicing tempor duis qui. Ullamco aliqua tempor | ||
incididunt aliquip aliquip qui ad minim aliqua. Aute et magna quis | ||
pariatur irure sunt. Aliquip velit consequat dolore ullamco laborum | ||
voluptate cupidatat. Proident minim reprehenderit id dolore elit sit | ||
occaecat ad amet tempor esse occaecat enim. Laborum aliqua excepteur | ||
qui ipsum in dolor et cillum est. | ||
</Typography> | ||
</div> | ||
); | ||
const useStyles = makeStyles(theme => ({ | ||
root: { | ||
[theme.breakpoints.up('sm')]: { | ||
width: 200, | ||
margin: '1em', | ||
}, | ||
[theme.breakpoints.down('sm')]: { | ||
width: 0, | ||
overflowX: 'hidden', | ||
margin: 0, | ||
}, | ||
}, | ||
})); | ||
|
||
const Aside = () => { | ||
const classes = useStyles(); | ||
return ( | ||
<div className={classes.root}> | ||
<Typography variant="h6">App Users</Typography> | ||
<Typography variant="body2"> | ||
Eiusmod adipisicing tempor duis qui. Ullamco aliqua tempor | ||
incididunt aliquip aliquip qui ad minim aliqua. Aute et magna | ||
quis pariatur irure sunt. Aliquip velit consequat dolore ullamco | ||
laborum voluptate cupidatat. Proident minim reprehenderit id | ||
dolore elit sit occaecat ad amet tempor esse occaecat enim. | ||
Laborum aliqua excepteur qui ipsum in dolor et cillum est. | ||
</Typography> | ||
</div> | ||
); | ||
}; | ||
|
||
export default Aside; |
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.