Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Form not being styled? #127

Closed
jellz opened this issue Dec 8, 2018 · 0 comments
Closed

Form not being styled? #127

jellz opened this issue Dec 8, 2018 · 0 comments

Comments

@jellz
Copy link

jellz commented Dec 8, 2018

Hi, I want to make a form with a text input and a button but when using the Form components with react-bulma-components they look nothing like they do on the documentation...

Code:

import React, { Component } from 'react';
import { Form } from 'react-bulma-components';

class ServerLookupForm extends Component {
  render() {
    return (
      <div>
        <Form.Field>
          <Form.Label>Server name</Form.Label>
          <Form.Control>
            <Form.Input type='text' placeholder='text input' />
          </Form.Control>
        </Form.Field>
      </div>
    );
  }
}

export default ServerLookupForm;

Screenshot:

It should look something like this:

@jellz jellz closed this as completed Dec 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant