You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

solid-split-pane

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

solid-split-pane

Split pane component for Solid!

0.0.5
latest
Source
npmnpm
Version published
Weekly downloads
8
700%
Maintainers
1
Weekly downloads
 
Created
Source

solid-split-pane

Split pane component for Solid! Uses Split.Js under the hood. Takes all props that split.js takes, plus a gutterClass.

(Q) Why not solid-split or solid-split-component?

solid-split contains a custom split implementation that has much less features. solid-split-component's internals seemed rather complicated for what seems to be a simple problem. I just wanted to publish my solution, which is just a lightweight wrapper over Split.Js.

Usage

npm i solid-split-pane
import { SplitPane } from "solid-split-pane";

export const App = () => (
  <div style="display: flex">
    <SplitPane>
      <div>
        <p>Container 1</p>
      </div>
      <div>
        <p>Container 2</p>
      </div>
    </SplitPane>
  </div>;
);

Options

Any options that Split.JS takes. Gutter class is customizeable through a gutterClass prop!

FAQs

Package last updated on 27 Oct 2022

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