0.0.4 • Published 4 years ago

@jonathanleelx/react-resizable v0.0.4

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

react-resizable

Made with create-react-library

NPM JavaScript Style Guide

Install

use npm

npm install --save @jonathanleelx/react-resizable

use yarn

yarn add @jonathanleelx/react-resizable

Usage

import React, { Component } from 'react'
import ResizableContainer from '@jonathanleelx/react-resizable'

import '@jonathanleelx/react-resizable/dist/index.css'

const Flex = () => {
  return <div>flex</div>
}

const Fixed = () => {
  return <div>fixed</div>
}

class App extends Component {
  render() {
    return <ResizableContainer flex={<Flex />} fixed={<Fixed />} />
  }
}

License

MIT © JonathanLee-LX