Answers for "import grid"

0

import grid

import Grid from '@material-ui/core/Grid';
// or
import { Grid } from '@material-ui/core';
Posted by: Guest on April-04-2021
0

react grid

npm install react-grid-system --save

// yarn
yarn add react-grid-system 

// example
import { Container, Row, Col } from 'react-grid-system';
 
<Container>
  <Row>
    <Col sm={4}>
      One of three columns
    </Col>
    <Col sm={4}>
      One of three columns
    </Col>
    <Col sm={4}>
      One of three columns
    </Col>
  </Row>
</Container>
Posted by: Guest on September-08-2020

Browse Popular Code Answers by Language