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 f1def58 commit fbfa53e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions stories/Counter/_CounterDemoTab.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,15 @@ const Counter = () => {
const onCountInc = () => setCount(count + 1);
const msg = \`Button clicked \${count} \${count > 1 ? 'times' : 'time'}\`;
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 fbfa53e

Please sign in to comment.