forked from reactstrap/reactstrap
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFormPage.js
More file actions
117 lines (101 loc) · 3.3 KB
/
Copy pathFormPage.js
File metadata and controls
117 lines (101 loc) · 3.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
/* eslint react/no-multi-comp: 0, react/prop-types: 0 */
import React from 'react';
import { PrismCode } from 'react-prism';
import Helmet from 'react-helmet';
import FormExample from '../examples/Form';
const FormExampleSource = require('!!raw!../examples/Form');
import FormGridExample from '../examples/FormGrid';
const FormGridExampleSource = require('!!raw!../examples/FormGrid');
import FormInlineExample from '../examples/FormInline';
const FormInlineExampleSource = require('!!raw!../examples/FormInline');
import FormFeedbackExample from '../examples/FormFeedback';
const FormFeedbackExampleSource = require('!!raw!../examples/FormFeedback');
import InputTypeExample from '../examples/InputType';
const InputTypeExampleSource = require('!!raw!../examples/InputType');
import InputSizingExample from '../examples/InputSizing';
const InputSizingExampleSource = require('!!raw!../examples/InputSizing');
import InputGridSizingExample from '../examples/InputGridSizing';
const InputGridSizingExampleSource = require('!!raw!../examples/InputGridSizing');
import LabelHiddenExample from '../examples/LabelHidden';
const LabelHiddenExampleSource = require('!!raw!../examples/LabelHidden');
export default class FormPage extends React.Component {
render() {
return (
<div>
<Helmet title="Form" />
<h3>Form</h3>
<div className="docs-example">
<FormExample />
</div>
<pre>
<PrismCode className="language-jsx">
{FormExampleSource}
</PrismCode>
</pre>
<h3>Form Grid</h3>
<div className="docs-example">
<FormGridExample />
</div>
<pre>
<PrismCode className="language-jsx">
{FormGridExampleSource}
</PrismCode>
</pre>
<h3>Inline Form</h3>
<div className="docs-example">
<FormInlineExample />
</div>
<pre>
<PrismCode className="language-jsx">
{FormInlineExampleSource}
</PrismCode>
</pre>
<h3>Form Feedback</h3>
<div className="docs-example">
<FormFeedbackExample />
</div>
<pre>
<PrismCode className="language-jsx">
{FormFeedbackExampleSource}
</PrismCode>
</pre>
<h3>Input Types</h3>
<div className="docs-example">
<InputTypeExample />
</div>
<pre>
<PrismCode className="language-jsx">
{InputTypeExampleSource}
</PrismCode>
</pre>
<h3>Input Sizing</h3>
<div className="docs-example">
<InputSizingExample />
</div>
<pre>
<PrismCode className="language-jsx">
{InputSizingExampleSource}
</PrismCode>
</pre>
<h3>Input Grid Sizing</h3>
<div className="docs-example">
<InputGridSizingExample />
</div>
<pre>
<PrismCode className="language-jsx">
{InputGridSizingExampleSource}
</PrismCode>
</pre>
<h3>Hidden Labels</h3>
<div className="docs-example">
<LabelHiddenExample />
</div>
<pre>
<PrismCode className="language-jsx">
{LabelHiddenExampleSource}
</PrismCode>
</pre>
</div>
);
}
}