Sha256: 075231c4afad41cbc4ed4b29c223a53b0438a3b9665bd137e5a8ec3e7b6edabb

Contents?: true

Size: 519 Bytes

Versions: 5

Compression:

Stored size: 519 Bytes

Contents

import React from 'react';

import PropTypes from 'prop-types';

export class ResizeSensor extends BaseComponent {
    static propTypes =
        {onResize: PropTypes.func.isRequired};
    render() {
        return (
            <Hippo.Vendor.ComponentResize
                {...this.props}
                embedCss={false}
                export className={_.classnames('hippo-resize-sensor', this.props.className)}>
                {this.props.children}
            </Hippo.Vendor.ComponentResize>
        );
    }
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
hippo-fw-0.9.5 client/hippo/components/shared/ResizeSensor.jsx
hippo-fw-0.9.4 client/hippo/components/shared/ResizeSensor.jsx
hippo-fw-0.9.3 client/hippo/components/shared/ResizeSensor.jsx
hippo-fw-0.9.2 client/hippo/components/shared/ResizeSensor.jsx
hippo-fw-0.9.1 client/hippo/components/shared/ResizeSensor.jsx