on-internet
← Community

Full centering component

Stack Overflow ·

I would like to know if there is a component that allows me to center vertical/horizontal anything I want without writing custom CSS? I have tried react-center and react-flexbox-grid but without any success. It would be nice if there is some component that allows me to set how I want to align both horizontal and vertical trough properties. EDIT: This is the code I have: import React from 'react'; import {InputGroup, InputGroupAddon, Input, Button} from 'reactstrap'; import {Row, Col} from 'react-flexbox-grid'; import FlexView from 'react-flexview'; class Login extends React.Component{ render()

Comments

Sign in or sign up to comment and upvote.

No comments yet.