Download slate/packages/slate-hyperscript/src/index.ts from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 394 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/slate/packages/slate-hyperscript/src/index.ts
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/slate/packages/slate-hyperscript/src/index.ts
-
curl -L -o index.ts https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/slate/packages/slate-hyperscript/src/index.ts
394 Bytes
| import { | |
| createHyperscript, | |
| HyperscriptCreators, | |
| HyperscriptShorthands, | |
| } from './hyperscript' | |
| import { createEditor, createText } from './creators' | |
| /** | |
| * The default hyperscript factory that ships with Slate, without custom tags. | |
| */ | |
| const jsx = createHyperscript() | |
| export { | |
| jsx, | |
| createHyperscript, | |
| createEditor, | |
| createText, | |
| HyperscriptCreators, | |
| HyperscriptShorthands, | |
| } | |