rat-iframe

0.1.28 • Public • Published

rat-iframe

组件介绍

rat 中的iframe组件。

API

参数 说明 类型 默认值 是否必填
src iframe String

demo

import React from 'react';
import RatIframe from 'rat-video';

class App extends React.Component {
  constructor(props) {
    super(props);
  }
  render() {
    return (
      <div>
        <RatIframe 
          src={'https://cloud.video.taobao.com/play/u/2780279213/p/1/e/6/t/1/d/ld/36255062.mp4'}
          style={{width: 500, height: 500}}
        >
          
        </RatVideo>
      </div>
      )
    }
}

/rat-iframe/

    Package Sidebar

    Install

    npm i rat-iframe

    Weekly Downloads

    2

    Version

    0.1.28

    License

    BSD-3-Clause

    Unpacked Size

    27.4 kB

    Total Files

    12

    Last publish

    Collaborators

    • 55555azhe