Skip to content

Instantly share code, notes, and snippets.

@aditodkar
Created November 13, 2018 20:06
Show Gist options
  • Save aditodkar/feda7371368763eca589c4637d092706 to your computer and use it in GitHub Desktop.
Save aditodkar/feda7371368763eca589c4637d092706 to your computer and use it in GitHub Desktop.
import React from "react";
import { Button, Form, Header } from "semantic-ui-react";
import styles from './styles.css'
const LoginForm = () => (
//Instead of <Form style={formStyle}>
<Form style={styles.formStyle}>
</Form>
);
.formStyle{
margin-left: 300px;
margin-top:150px;
}
@bwoodlt
Copy link

bwoodlt commented Nov 13, 2018

<Form className={styles.formStyle}>...</Form

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment