From 415268eab7acb3063ca7b4426998b22bfe692c34 Mon Sep 17 00:00:00 2001 From: Mario Reder Date: Fri, 11 Jan 2019 15:21:07 +0100 Subject: [PATCH] transform typescript custom jsx fragment support --- docs/plugin-transform-typescript.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/plugin-transform-typescript.md b/docs/plugin-transform-typescript.md index 06d80825ef..c309d67e73 100644 --- a/docs/plugin-transform-typescript.md +++ b/docs/plugin-transform-typescript.md @@ -72,6 +72,14 @@ Replace the function used when compiling JSX expressions. This is so that we know that the import is not a type import, and should not be removed +### `jsxPragmaFrag` + +`string`, defaults to `React.Fragment` + +Replace the function used when compiling JSX fragment expressions. + +This is so that we know that the import is not a type import, and should not be removed + [const_enum]: https://www.typescriptlang.org/docs/handbook/enums.html#const-enums [namespace]: https://www.typescriptlang.org/docs/handbook/namespaces.html [exin]: https://www.typescriptlang.org/docs/handbook/modules.html#export--and-import--require