Skip to content

Commit

Permalink
type(examples): optimize style type (#213)
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkasany committed Aug 17, 2023
1 parent 0a17f57 commit 324de08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/horizontal-scroll.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ interface Item {
height: number;
}

const Rect = ({ style }: any) => (
const Rect = ({ style }: { style?: React.CSSProperties }) => (
<div
style={{
position: 'sticky',
Expand Down

0 comments on commit 324de08

Please sign in to comment.