Skip to content

Commit

Permalink
docs: add blur demo
Browse files Browse the repository at this point in the history
  • Loading branch information
YumoImer committed Dec 24, 2024
1 parent 882a2cc commit ac94a53
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions components/sender/demo/focus.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,13 @@ const App: React.FC = () => {
>
Focus prevent scroll
</Button>
<Button
onClick={() => {
senderRef.current!.blur();
}}
>
Blur
</Button>
<Sender {...senderProps} />
</Flex>
);
Expand Down

0 comments on commit ac94a53

Please sign in to comment.