File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -52,12 +52,14 @@ import 'react-semantic-ui-datepickers/dist/react-semantic-ui-datepickers.css';
5252const AppWithBasic = () => {
5353 const [currentDate , setNewDate ] = useState (null );
5454 const onChange = (event , data ) => setNewDate (data .value );
55- < SemanticDatepicker onChange= {onChange} / > ;
55+
56+ return < SemanticDatepicker onChange= {onChange} / > ;
5657};
5758
5859const AppWithRangeAndInPortuguese = () => {
5960 const [currentRange , setNewRange ] = useState ([]);
6061 const onChange = (event , data ) => setNewRange (data .value );
62+
6163 return < SemanticDatepicker locale= " pt-BR" onChange= {onChange} type= " range" / > ;
6264};
6365```
@@ -165,6 +167,7 @@ Thanks goes to these wonderful people ([emoji key](https://github.com/kentcdodds
165167
166168<!-- markdownlint-enable -->
167169<!-- prettier-ignore-end -->
170+
168171<!-- ALL-CONTRIBUTORS-LIST:END -->
169172
170173This project follows the [ all-contributors] ( https://github.com/kentcdodds/all-contributors ) specification. Contributions of any kind welcome!
You can’t perform that action at this time.
0 commit comments