OfficeDev / fluent-blocks

A rich component library, still in development, for providing experiences from Microsoft’s Fluent design system
https://aka.ms/fluent-blocks-storybook
MIT License
23 stars 7 forks source link

Add support for both expected and Escape JSX elements in addition to props #11

Closed thure closed 3 years ago

thure commented 3 years ago

This adds support for using a JSX element of an expected type as an alternative to providing the serializable props in the same slot, in addition to an Escape element which allows developers to inject arbitrary content as needed.