How to use the @uifabric/tsx-editor.transformExample function in @uifabric/tsx-editor

To help you get started, we’ve selected a few @uifabric/tsx-editor examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github OfficeDev / office-ui-fabric-react / packages / example-app-base / src / components / ExampleCard / ExampleCard.tsx View on Github external
private _transformCode(code: string): string | undefined {
    return transformExample({
      tsCode: code,
      id: CONTENT_ID,
      supportedPackages: SUPPORTED_PACKAGES
    }).output;
  }

@uifabric/tsx-editor

Live tsx editor for Fabric website.

MIT
Latest version published 2 years ago

Package Health Score

61 / 100
Full package analysis

Similar packages