mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
21 lines
542 B
TypeScript
21 lines
542 B
TypeScript
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>
|
|
);
|
|
}
|
|
}
|