You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- /*
- * Slim v3.1.1 - Image Cropping Made Easy
- * Copyright (c) 2016 Rik Schennink - http://slim.pqina.nl
- */
- // Necessary React Modules
- import React from '../build/react';
- import ReactDOM from '../build/react-dom';
- import _Slim from './slim.module.js';
-
- // React Component
- export default class Slim extends React.Component {
-
- componentDidMount() {
- this.slim = _Slim.create(ReactDOM.findDOMNode(this));
- }
-
- render() {
- return <div className="slim" { ...this.props }>{ this.props.children }</div>
- }
-
- }
|