From 4abf6ddb2bc43f0fc6ae7b501bee8bccb5e21ec2 Mon Sep 17 00:00:00 2001 From: Mohsen Azimi Date: Sat, 25 Mar 2017 11:57:57 -0700 Subject: [PATCH] Add inline style options to react-split-pane --- types/react-split-pane/index.d.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/types/react-split-pane/index.d.ts b/types/react-split-pane/index.d.ts index cdbb05d4c1..27006b7088 100644 --- a/types/react-split-pane/index.d.ts +++ b/types/react-split-pane/index.d.ts @@ -31,6 +31,14 @@ declare namespace ReactSplitPane { */ size?: number | string; split?: string; + /* Styling to be applied to both panes */ + paneStyle?: React.CSSProperties; + /* Styling to be applied to the first pane, with precedence over paneStyle */ + pane1Style?: React.CSSProperties; + /* Styling to be applied to the second pane, with precedence over paneStyle */ + pane2Style?: React.CSSProperties; + /* Styling to be applied to the resizer bar */ + resizerStyle?: React.CSSProperties; } interface ReactSplitPaneClass extends React.ComponentClass { }