New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@ffsm/pane

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ffsm/pane

Split pane for ReactJS, support vertical and horizontal

latest
Source
npmnpm
Version
0.0.2
Version published
Maintainers
1
Created
Source

Split Pane for ReactJS

React Component Split Pane, support vertical and horizontal

Installation

npm i @ffsm/pane

OR

yarn add @ffsm/pane

Using

import { Pane } from '@ffsm/pane';

export default function App() {
  return (
    <div className="w-screen h-screen">
      <Pane>
        <div data-pane-width={200} data-pane-min={150}>
          Item vertical 1
        </div>
        <div>Item vertical 2</div>
        <Pane
          horizontal
          resizerSize={4}
          resizerColor="transparent"
          resizerHoverColor="red"
          resizerActiveColor="green"
        >
          <div data-pane-height={300}>Item horizontal 1</div>
          <div>Item horizontal 2</div>
        </Pane>
      </Pane>
    </div>
  );
}

Updating

  • Emit events
  • Check and reset size when initialize items.

Keywords

split

FAQs

Package last updated on 12 Mar 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts