File tree Expand file tree Collapse file tree 1 file changed +1
-53
lines changed Expand file tree Collapse file tree 1 file changed +1
-53
lines changed Original file line number Diff line number Diff line change @@ -7,67 +7,15 @@ import CheckboxGroup from './checkboxGroup';
7
7
import Toggle from './toggle' ;
8
8
import RadioButtonGroup from './radioButtonGroup' ;
9
9
import TextInput from './textInput' ;
10
-
11
- export default {
12
- Button,
13
- Card,
14
- Checkbox,
15
- CheckboxGroup,
16
- RadioButtonGroup,
17
- Toggle,
18
- TextInput
19
- } ;
20
10
import Snackbar from './snackbar' ;
21
11
22
- import React from 'react' ;
23
- import ReactDOM from 'react-dom' ;
24
-
25
12
export default {
26
13
Button,
27
14
Card,
28
15
Checkbox,
29
16
CheckboxGroup,
30
17
RadioButtonGroup,
31
18
Toggle,
19
+ TextInput,
32
20
Snackbar,
33
21
} ;
34
-
35
- import theme from './theme.scss' ;
36
-
37
- class SnackDisplay extends React . Component {
38
- constructor ( props ) {
39
- super ( props ) ;
40
- this . state = {
41
- showSnackbar : false ,
42
- showTopSnackbar : false ,
43
- showIndefiniteSnackbar : false ,
44
- }
45
- }
46
-
47
- openBottomSnackbar = ( ) => {
48
- this . setState ( {
49
- showSnackbar : ! this . state . showSnackbar
50
- } ) ;
51
- }
52
-
53
- openTopSnackbar = ( ) => {
54
- this . setState ( {
55
- showTopSnackbar : ! this . state . showTopSnackbar
56
- } ) ;
57
- }
58
-
59
- openIndefiniteSnackbar = ( ) => {
60
- this . setState ( {
61
- showIndefiniteSnackbar : ! this . state . showIndefiniteSnackbar
62
- } ) ;
63
- }
64
-
65
-
66
- handleSnackClose = ( ) => {
67
- this . setState ( {
68
- showSnackbar : false ,
69
- showTopSnackbar : false ,
70
- } ) ;
71
- }
72
-
73
- // ReactDOM.render(<RadioDisplay />, document.getElementById('index'));
You can’t perform that action at this time.
0 commit comments