File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -3,8 +3,10 @@ import ReactDOM from 'react-dom';
33
44import EasyBytes from '../src/js/EasyBytes' ;
55
6- ReactDOM . render ( < EasyBytes id = "easybytes" /> , document . getElementById ( 'mount1' ) ) ;
6+ ReactDOM . render ( < EasyBytes id = "easybytes" name = "default" /> , document . getElementById ( 'mount1' ) ) ;
77
8- ReactDOM . render ( < EasyBytes id = "easybytes-with-default" defaultValue = " 3072" /> , document . getElementById ( 'mount2' ) ) ;
8+ ReactDOM . render ( < EasyBytes id = "easybytes-with-default" defaultValue = { 3072 } name = "preset " /> , document . getElementById ( 'mount2' ) ) ;
99
10- ReactDOM . render ( < EasyBytes id = "easybytes-with-default" defaultValue = "3072" inputClass = "form-control" selectClass = "form-control" /> , document . getElementById ( 'mount3' ) ) ;
10+ ReactDOM . render ( < EasyBytes id = "easybytes-with-default" defaultValue = { 3072 } name = "preset" multiple = { 1024 } /> , document . getElementById ( 'mount3' ) ) ;
11+
12+ ReactDOM . render ( < EasyBytes id = "easybytes-with-default" defaultValue = { 3072 } inputClass = "form-control" selectClass = "form-control" name = "bootstrap" /> , document . getElementById ( 'mount4' ) ) ;
You can’t perform that action at this time.
0 commit comments