Add inline style options to react-split-pane

This commit is contained in:
Mohsen Azimi
2017-03-25 11:57:57 -07:00
committed by GitHub
parent bb7d6b2d08
commit 4abf6ddb2b

View File

@@ -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<ReactSplitPaneProps> { }