File tree Expand file tree Collapse file tree
docs/app/Examples/elements/Button Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import React , { Component } from 'react' ;
22import ButtonTypesExamples from './Types/ButtonTypesExamples' ;
33import ButtonGroupsExamples from './Groups/ButtonGroupsExamples' ;
4+ import ButtonContentExamples from './Content/ButtonContentExamples' ;
45import ButtonStatesExamples from './States/ButtonStatesExamples' ;
56import ButtonsVariationsExamples from './Variations/ButtonsVariationsExamples' ;
67
@@ -10,6 +11,7 @@ export default class ButtonExamples extends Component {
1011 < div >
1112 < ButtonTypesExamples />
1213 < ButtonGroupsExamples />
14+ < ButtonContentExamples />
1315 < ButtonStatesExamples />
1416 < ButtonsVariationsExamples />
1517 </ div >
Original file line number Diff line number Diff line change 1+ import React , { Component } from 'react' ;
2+ import { Buttons , Button } from 'stardust' ;
3+
4+ export default class ButtonButtonsExample extends Component {
5+ render ( ) {
6+ return (
7+ < Buttons >
8+ < Button > One</ Button >
9+ < Button > Two</ Button >
10+ < Button > Three</ Button >
11+ </ Buttons >
12+ ) ;
13+ }
14+ }
Original file line number Diff line number Diff line change 1+ import React , { Component } from 'react' ;
2+ import ComponentExample from 'docs/app/Components/ComponentDoc/ComponentExample' ;
3+ import ExampleSection from 'docs/app/Components/ComponentDoc/ExampleSection' ;
4+
5+ export default class ButtonStatesExamples extends Component {
6+ render ( ) {
7+ return (
8+ < ExampleSection title = 'Content' >
9+ < ComponentExample
10+ title = 'Conditionals'
11+ description = 'Button groups can contain conditionals'
12+ examplePath = 'elements/Button/Content/ButtonConditionalsExample'
13+ />
14+ </ ExampleSection >
15+ ) ;
16+ }
17+ }
You can’t perform that action at this time.
0 commit comments