Open danceli opened 1 year ago
I'm currently getting this warning and does not render properly. environment:
"dependencies": {
"@stoplight/json-schema-viewer": "^4.9.0",
"eslint": "8.40.0",
"eslint-config-next": "13.4.1",
"next": "13.4.1",
"react": "18.2.0",
"react-dom": "18.2.0"
}
@bulentozdil I had a similar problem and was able to add styles by following this example:
I am also running into the error:
warning
[DEPRECATED]: use useSetAtom from jotai instead.
Hi Spotlight team, the theming (or even just getting default styles to display) aspect of using this module seems a little tricky and undocumented - some insight would be great. I realise that Mosaic appears to be a deliberately unlicensed design system. Are there other solutions, e.g. customisation of components within the viewer?
For reference, I've also raised the Jotai deprecation issue separately: https://github.com/stoplightio/json-schema-viewer/issues/259
environment: "react": "^17.0.2", "react-dom": "^17.0.2",
"@stoplight/json-schema-viewer": "4.5.0", "@stoplight/markdown-viewer": "^5", "@stoplight/mosaic": "^1.24.4", "@stoplight/mosaic-code-viewer": "^1.24.4",
warning [DEPRECATED]: use
useSetAtom
fromjotai
instead.