cadl/packages/playground/.storybook
Timothee Guerin 12e26a35fa
Custom output viewer (#3465)
Provide a way to pass a custom program viewer to the playground. This
should enable scnearios like having a `TypeSpec UI` viewer similar to
swagger UI.
Moved the viewer selection to be some vertical tabs with icons to the
right instead

File output viewer
<img width="723" alt="image"
src="https://github.com/microsoft/typespec/assets/1031227/e58caee7-8df5-4a9a-be16-9d6fec6701b4">

Type graph viewer

<img width="713" alt="image"
src="https://github.com/microsoft/typespec/assets/1031227/8bc2c4a0-42dc-4f91-a9ed-7b52bcad3692">


Also fix issues related to the playground build not validating the
typesript
2024-06-05 22:56:54 +00:00
..
main.ts Custom output viewer (#3465) 2024-06-05 22:56:54 +00:00
preview-head.html Custom output viewer (#3465) 2024-06-05 22:56:54 +00:00
preview.tsx Add storybook for playground library (#3412) 2024-05-24 02:37:11 +00:00