Skip to content

Add support for JSX inside Svelte files? #16

@bfanger

Description

@bfanger

Look into adding support for JSX syntax into *.svelte files.

<script>
import { CompoundButton, CompoundIcon } from "office-ui-fabric-react";
</script>

<react:CompoundButton icon={<CompoundIcon />} secondaryContent="Secondary content">
  Example
</react:CompoundButton>

The icon={<CompoundIcon />}
Should be preprocessed into:
icon={createElement(CompoundIcon)}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions