Skip to content

Commit 1120cfb

Browse files
committed
Added prop types for Custom space
1 parent e5075c7 commit 1120cfb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

react-spaces/src/Space.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,9 @@ BottomResizable.propTypes = {...publicProps, ...anchoredProps, ...resizableProps
3232
export const RightResizable : React.FC<IPublicProps & IAnchoredProps & IResizableProps> = (props) => <SpaceInternal {...props} anchor={AnchorType.Right} anchorSize={props.size} resizable={true} />
3333
RightResizable.propTypes = {...publicProps, ...anchoredProps, ...resizableProps};
3434
export const Positioned : React.FC<IPublicProps & IResizableProps & IPositionedProps> = (props) => <SpaceInternal {...props} />
35-
RightResizable.propTypes = {...publicProps, ...resizableProps, ...positionedProps};
35+
Positioned.propTypes = {...publicProps, ...resizableProps, ...positionedProps};
3636
export const Custom : React.FC<AllProps> = (props) => <SpaceInternal {...props} />
37+
Custom.propTypes = allProps;
3738

3839
export const SpaceInternal : React.FC<AllProps> = React.memo((props) => {
3940

0 commit comments

Comments
 (0)