Skip to content

Unable to spread props inside components or use empty tags for fragments within markdown examples #2815

@jpuzz0

Description

@jpuzz0

Describe the issue. What is the expected and unexpected behavior?
When writing markdown examples, when spreading props into components or using empty tags for fragments, the TS to JS conversions (using the ExampleToolbar) fail with either console and/or syntax errors. This is not expected to happen since both of these things are valid JSX regardless of whether we're in a typescript or javascript space.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions