parent
fcae4371e6
commit
1bc64552c0
6 changed files with 52 additions and 9 deletions
@ -1,3 +1,7 @@ |
||||
* { |
||||
box-sizing: border-box; |
||||
} |
||||
|
||||
body { |
||||
font-family: sans-serif; |
||||
} |
||||
|
@ -0,0 +1,15 @@ |
||||
import React from 'react'; |
||||
|
||||
class GridItem extends React.Component { |
||||
render() { |
||||
return ( |
||||
<div className='grid-item'> |
||||
<div className='grid-item-content'> |
||||
{this.props.children} |
||||
</div> |
||||
</div> |
||||
); |
||||
} |
||||
} |
||||
|
||||
export default GridItem; |
After Width: | Height: | Size: 13 KiB |
Loading…
Reference in new issue