Skip to content

Commit 90ae40d

Browse files
authored
Fix <Static> typings (#394)
Static accepts styles in props.style. not directly on props.
1 parent 708db09 commit 90ae40d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Static.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React, {useMemo, useState, useLayoutEffect, ReactNode} from 'react';
22
import {Styles} from '../styles';
33

4-
export interface Props<T> extends Styles {
4+
export interface Props<T> {
55
/**
66
* Array of items of any type to render using a function you pass as a component child.
77
*/

0 commit comments

Comments
 (0)