File tree Expand file tree Collapse file tree 3 files changed +6
-1
lines changed Expand file tree Collapse file tree 3 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 5
5
ChildProps ,
6
6
Coordinate ,
7
7
ExpandInteractiveArea ,
8
+ Omit ,
8
9
} from '../types' ;
9
10
import { withResizerContext } from '../context' ;
10
11
import { StyledBar , StyledInteractiveArea } from './Bar.styled' ;
@@ -171,4 +172,6 @@ class BarComponent extends React.PureComponent<Props> {
171
172
}
172
173
}
173
174
175
+ export type BarProps = Omit < Props , 'context' > ;
176
+
174
177
export const Bar = withResizerContext ( BarComponent ) ;
Original file line number Diff line number Diff line change @@ -164,4 +164,4 @@ class Container extends React.PureComponent<Props> {
164
164
}
165
165
}
166
166
167
- export { Container , Resizer } ;
167
+ export { Container , Resizer , Props as ContainerProps } ;
Original file line number Diff line number Diff line change @@ -114,4 +114,6 @@ class SectionComponent extends React.PureComponent<Props> {
114
114
}
115
115
}
116
116
117
+ export type SectionProps = Pick < Props , 'context' > ;
118
+
117
119
export const Section = withResizerContext ( SectionComponent ) ;
You can’t perform that action at this time.
0 commit comments