mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-19 05:31:56 +02:00
using js-to-ts converter on JSX. (#3906)
Added 'include' parameter to tsconfig to tell the compiler to only look inside the src directory
This commit is contained in:
13
packages/slate-hyperscript/test/fixtures/text-nested.tsx
vendored
Normal file
13
packages/slate-hyperscript/test/fixtures/text-nested.tsx
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
/** @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,
|
||||
}
|
Reference in New Issue
Block a user