Skip to content

Commit f318d4b

Browse files
Merge pull request #6077 from Hacker0x01/fix/tab-loop-render-return-type
fix: add explicit return type to TabLoop render method (#6075)
2 parents f11433c + 559c65e commit f318d4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tab_loop.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ export default class TabLoop extends Component<TabLoopProps> {
8585
tabChildren && tabChildren.length > 1 && tabChildren[0].focus();
8686
};
8787

88-
render() {
88+
render(): React.ReactNode {
8989
if (!(this.props.enableTabLoop ?? TabLoop.defaultProps.enableTabLoop)) {
9090
return this.props.children;
9191
}

0 commit comments

Comments
 (0)