DefinitelyTyped/react-holder/react-holder-tests.tsx
2016-02-21 02:02:05 +07:00

26 lines
649 B
TypeScript

// react-holder test
///<reference path="react-holder.d.ts"/>
///<reference path="../react/react.d.ts"/>
import * as React from "react";
import Holder from "react-holder";
export class ReactHolderTest extends React.Component<any, any> {
public render() {
return (
<div>
<Holder
// width and height can be a number or a string
width="100%"
height="200px"
// default: false
updateOnResize={true}
className={'my-custom-class'}
/>
</div>
);
}
}