Download slate/packages/slate-hyperscript/test/fixtures/text-nested.tsx from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 191 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/slate/packages/slate-hyperscript/test/fixtures/text-nested.tsx
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/slate/packages/slate-hyperscript/test/fixtures/text-nested.tsx
-
curl -L -o text-nested.tsx https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/slate/packages/slate-hyperscript/test/fixtures/text-nested.tsx
191 Bytes
| /** @jsx jsx */ | |
| import { jsx } from 'slate-hyperscript' | |
| export const input = ( | |
| <text b> | |
| <text a>word</text> | |
| </text> | |
| ) | |
| export const output = { | |
| text: 'word', | |
| a: true, | |
| b: true, | |
| } | |