flex-embed

1.0.2 • Public • Published

Examples:

<FlexEmbed width={200} background="yellow" ratio={9 / 16}>
  Hooray!
</FlexEmbed>

Use percentage prop instead of ratio

<FlexEmbed width={200} background="yellow" percentage="75%">
  Hooray!
</FlexEmbed>

/flex-embed/

    Package Sidebar

    Install

    npm i flex-embed

    Weekly Downloads

    4

    Version

    1.0.2

    License

    none

    Unpacked Size

    73.3 kB

    Total Files

    9

    Last publish

    Collaborators

    • l42y