Skip to content

Commit

Permalink
fix(deps): update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
mkosir committed Nov 2, 2024
1 parent 277c93a commit f1def58
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion stories/Counter/Counter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,14 @@ const Counter = () => {
const onCountInc = () => setCount(count + 1);

const msg = `Button clicked ${count.toString()} ${count > 1 ? 'times' : 'time'}`;
const marginBottom = 10;

return (
<>
<button style={{ fontSize: 16, padding: '5px 15px', marginBottom: '10px' }} onClick={onCountInc}>
<button
style={{ fontSize: 16, padding: '5px 15px', marginBottom: `${marginBottom.toString()}px` }}
onClick={onCountInc}
>
Click
</button>
<div>{msg}</div>
Expand Down

0 comments on commit f1def58

Please sign in to comment.