bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/whiteboard/slide/component.jsx

24 lines
563 B
React
Raw Normal View History

import React, { PropTypes } from 'react';
export default class Slide extends React.Component {
constructor(props) {
super(props);
}
render() {
return (
<g>
{this.props.current_slide ?
<image x="0" y="0"
2016-06-03 06:09:28 +08:00
width={this.props.current_slide.slide.width}
height={this.props.current_slide.slide.height}
xlink="http://www.w3.org/1999/xlink"
xlinkHref={this.props.current_slide.slide.img_uri}
stroke-width="0.8">
</image>
2016-06-03 06:09:28 +08:00
: null }
</g>
);
}
}