Skip to content

Commit

Permalink
Updated Bootstrap stylesheet import and README badges
Browse files Browse the repository at this point in the history
  • Loading branch information
jakepolatty committed Aug 14, 2019
1 parent cc30c6e commit 0686a23
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 13 deletions.
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,21 @@
# Formative React
[![Build Status](https://travis-ci.com/jakepolatty/react-schema-form.svg?branch=master)](https://travis-ci.com/jakepolatty/react-schema-form)
[![Coverage Status](https://coveralls.io/repos/github/jakepolatty/react-schema-form/badge.svg?branch=master)](https://coveralls.io/github/jakepolatty/react-schema-form?branch=master)
[![codebeat badge](https://codebeat.co/badges/152a8750-1b2e-4372-89de-84252c905f22)](https://codebeat.co/projects/github-com-jakepolatty-react-schema-form-master)
[![Build Status](https://travis-ci.com/jakepolatty/formative-react.svg?branch=master)](https://travis-ci.com/jakepolatty/formative-react)
[![Coverage Status](https://coveralls.io/repos/github/jakepolatty/formative-react/badge.svg?branch=master)](https://coveralls.io/github/jakepolatty/formative-react?branch=master)
[![codebeat badge](https://codebeat.co/badges/895ba274-4c82-4476-a0ce-7d3abe354c3a)](https://codebeat.co/projects/github-com-jakepolatty-formative-react-master)
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)

> Dynamic React forms, with generation driven by a [JSON schema](https://json-schema.org/) and full visual
customizability provided through a UI schema and standardized CSS id hooks.

## Installation
Formative React can be installed using either [npm](https://www.npmjs.com/package/formative-react) or [yarn](https://yarnpkg.com/en/package/formative-react):
```
npm install --save formative-react
```
or
```
yarn add formative-react
```

## Usage
Detailed usage information is provided in the [Usage Guide](docs/USAGE.md).
Expand Down
29 changes: 20 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/components/Form/Form.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// @flow
import React, {useState, useEffect, useReducer} from 'react';
import 'bootstrap/dist/css/bootstrap.min.css';
import type {Element} from 'react';
import FormGenerator from './FormGeneration/FormGenerator.js';
import type {FieldsType} from './FormGeneration/FormGenerator.js'
Expand Down
1 change: 0 additions & 1 deletion src/components/FormPage/FormPage.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// @flow
import React from 'react';
import '../../../node_modules/bootstrap/dist/css/bootstrap.min.css';
import APISchemaForms from '../APISchemaForms/APISchemaForms';
// These will be local to the project

Expand Down

0 comments on commit 0686a23

Please sign in to comment.