This package has been deprecated

Author message:

Do not use

@qwtel/allotment
TypeScript icon, indicating that this package has built-in type declarations

1.2.4 • Public • Published

CI status GitHub license NPM

Logo

Allotment

React split-pane component.

  • React-based: Integrate effortlessly into your existing React-based application.
  • Industry standard look and feel: Like VS Code's split view implementation? You're in luck! This component is derived from the same codebase.
  • Dynamic: Want to declaratively add and remove panes? We've got you covered.

Getting Started

Allotment is available from npm.

Prerequisites

Allotment has react and react-dom as peer dependencies.

yarn add react react-dom

Installation

yarn add allotment

Usage

import React from "react";
import { Allotment } from "allotment";

export const App = () => (
  <Allotment>
    <ComponentA>
    <ComponentB>
  </Allotment>
);

Readme

Keywords

Package Sidebar

Install

npm i @qwtel/allotment

Weekly Downloads

1

Version

1.2.4

License

MIT

Unpacked Size

154 kB

Total Files

50

Last publish

Collaborators

  • qwtel