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

How to add class in your components? #70

Closed
dns2316 opened this issue May 13, 2017 · 1 comment
Closed

How to add class in your components? #70

dns2316 opened this issue May 13, 2017 · 1 comment

Comments

@dns2316
Copy link

dns2316 commented May 13, 2017

Example, I want add bootstrap class to Textarea

                <Textarea
                  id="body-form"
                  field='body'
                  placeholder='bodyForm'
                 />

was id added, but how to add class?

P.S: and how to set url database, and how to POST, Update, Delete from DB?

@tannerlinsley
Copy link
Collaborator

  • Use the className prop to set a class on the TextArea.
  • React-Form is not responsible for communicating with API's or databases on its own. You could join the slack channel and ask for help though :)

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

2 participants