h5-previewer
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

h5-previewer

useage

<Previewer width={width} height={height} mode={mode} rotate={rotate}>
  <iframe
    style={{
      width: '100%',
      height: '100%',
      border: 0,
    }}
    src="https://www.itsnicethat.com/"
  />
</Previewer>

notice. you can set anything as children, not iframe only.

Readme

Keywords

none

Package Sidebar

Install

npm i h5-previewer

Weekly Downloads

1

Version

0.1.1

License

MIT

Unpacked Size

27 kB

Total Files

16

Last publish

Collaborators

  • huangteng