Semantic-ui-react: implement sidebar in react ^16.13.1

Created on 7 Apr 2020  路  4Comments  路  Source: Semantic-Org/Semantic-UI-React

I tried to implement Dimmed sidebar component as mentioned in this example

as the example code i installed @stardust-ui/docs-components npm package

after i run the react app it shows Module not found: Can't resolve 'prettier/parser-babylon' error
so i tried to find solution or npm package to solve that issue i can't find it

Version

"semantic-ui-css": "^2.4.1",
"semantic-ui-react": "^0.88.2",
"@stardust-ui/docs-components": "^0.40.0",
"react": "^16.13.1",
"react-dom": "^16.13.1",

docs

Most helpful comment

馃憢 Thanks for opening your first issue here! If you're reporting a 馃悶 bug, please make sure you've completed all the fields in the issue template so we can best help.

We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.

All 4 comments

馃憢 Thanks for opening your first issue here! If you're reporting a 馃悶 bug, please make sure you've completed all the fields in the issue template so we can best help.

We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.

I changed prettier/parser-babylon into parser-babel (since that's what's in the prettier directory) but to no avail.

got the same problem here

I updated examples in #3988 to avoid usage of knobs and replaced them with React.useState() calls. As there is no longer dependency on @stardust-ui/docs-components you should not have such issues.

Was this page helpful?
0 / 5 - 0 ratings