Skip to content

Commit 5c3087c

Browse files
committed
fix(react): fix Actions and Range types
fixes #3997
1 parent f2cd4ab commit 5c3087c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/react/components/actions.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ import { Actions } from 'framework7/types';
3030
onActionsClose? : (instance?: Actions.Actions) => void
3131
onActionsClosed? : (instance?: Actions.Actions) => void
3232
containerEl? : string | object
33-
ref?: React.MutableRefObject<{el: HTMLElement | null; f7Actions: () => Actions}>;
33+
ref?: React.MutableRefObject<{el: HTMLElement | null; f7Actions: () => Actions.Actions}>;
3434
COLOR_PROPS
3535
*/
3636

src/react/components/range.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ import { Range } from 'framework7/types';
3636
COLOR_PROPS
3737
onRangeChange? : (val?: any) => void
3838
onRangeChanged? : (val?: any) => void
39-
ref?: React.MutableRefObject<{el: HTMLElement | null; f7Range: () => Range.Rage}>;
39+
ref?: React.MutableRefObject<{el: HTMLElement | null; f7Range: () => Range.Range}>;
4040
*/
4141

4242
const Range = forwardRef((props, ref) => {

0 commit comments

Comments
 (0)