Skip to content

Commit

Permalink
Fixed #1795 - SplitterPanel is not exported in TypeScript
Browse files Browse the repository at this point in the history
  • Loading branch information
mertsincan committed Feb 3, 2021
1 parent b9810a2 commit 9f0e385
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions src/components/splitter/Splitter.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
import * as React from 'react';

interface SplitterPanelProps {
header?: number;
minSize?: number;
style?: object;
className?: string;
}

export class SplitterPanel extends React.Component<SplitterPanelProps,any> {}

interface SplitterProps {
id?: string;
className?: string;
Expand Down
2 changes: 1 addition & 1 deletion src/components/splitter/Splitter.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export class SplitterPanel extends Component {

static propTypes = {
header: PropTypes.number,
disabled: PropTypes.number,
minSize: PropTypes.number,
style: PropTypes.object,
className: PropTypes.string
}
Expand Down

0 comments on commit 9f0e385

Please sign in to comment.