Skip to content

Commit 324de08

Browse files
authored
type(examples): optimize style type (#213)
1 parent 0a17f57 commit 324de08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/horizontal-scroll.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ interface Item {
66
height: number;
77
}
88

9-
const Rect = ({ style }: any) => (
9+
const Rect = ({ style }: { style?: React.CSSProperties }) => (
1010
<div
1111
style={{
1212
position: 'sticky',

0 commit comments

Comments
 (0)