gradio/js/json
Hannah 87e3537342
Add height param to gr.JSON (#9023)
* add height param and styles

* use lines instead of height

* replace height with lines

* add param and add description to gr.code

* add title attr

* remove styling

* format

* fix test

* add changeset

* revert to height

* remove lines logic

* add changeset

* code param tweak

* remove redundant code

* tweak test

* revert onDestroy removal

* fix test

* tweak

* docstring

* height fix

---------

Co-authored-by: pngwn <hello@pngwn.io>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-08-13 09:49:34 +00:00
..
shared Add height param to gr.JSON (#9023) 2024-08-13 09:49:34 +00:00
CHANGELOG.md chore: update versions (#8960) 2024-08-08 11:20:08 +01:00
Index.svelte Add height param to gr.JSON (#9023) 2024-08-13 09:49:34 +00:00
JSON.stories.svelte Add height param to gr.JSON (#9023) 2024-08-13 09:49:34 +00:00
package.json chore: update versions (#8960) 2024-08-08 11:20:08 +01:00
README.md Version 4 development branch (#5498) 2023-10-31 04:46:02 +00:00

@gradio/json

<script>
	import { BaseJSON } from "@gradio/json";
</script>

BaseJSON

	export let value: any = {};