From 3362ec24780798d2f25a13f9c21c9f415d907fcd Mon Sep 17 00:00:00 2001 From: Princesseuh Date: Thu, 4 Aug 2022 18:19:18 +0000 Subject: [ci] format --- examples/framework-react/src/components/Counter.tsx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'examples/framework-react/src') diff --git a/examples/framework-react/src/components/Counter.tsx b/examples/framework-react/src/components/Counter.tsx index 6321469d3..cc416d3f1 100644 --- a/examples/framework-react/src/components/Counter.tsx +++ b/examples/framework-react/src/components/Counter.tsx @@ -1,7 +1,13 @@ import { useState } from 'react'; import './Counter.css'; -export default function Counter({ children, count: initialCount }: { children: JSX.Element, count: number }) { +export default function Counter({ + children, + count: initialCount, +}: { + children: JSX.Element; + count: number; +}) { const [count, setCount] = useState(initialCount); const add = () => setCount((i) => i + 1); const subtract = () => setCount((i) => i - 1); -- cgit v1.2.3