Files
sweet/tests/fixture_build_target/islands/Counter.tsx
T

5 lines
133 B
TypeScript

export default function Counter(props: { text?: string }) {
const text = props.text ?? "check output";
return <h1>{text}</h1>;
}