path: src/App.tsx
---
import React, { useState } from 'react';
import { Button } from './Button';

export function App() {
  const [count, setCount] = useState(0);
  return <Button onClick={() => setCount(count + 1)}>{count}</Button>;
}

export const Panel = ({ title }: { title: string }) => <section>{title}</section>;
