@jonathanleelx/react-resizable
TypeScript icon, indicating that this package has built-in type declarations

0.0.4 • Public • Published

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

Package Sidebar

Install

npm i @jonathanleelx/react-resizable

Weekly Downloads

1

Version

0.0.4

License

MIT

Unpacked Size

31.4 kB

Total Files

9

Last publish

Collaborators

  • jonathanleelx