'use client'
import { useState } from 'react'
export default function App() {
// This ensures you are in a browser environment
if (typeof window !== "undefined") {
import("@root-axis/design-system");
}
const [count, setCount] = useState(0);
<ra-button onClick={() => setCount((count) => count + 1)}>
count is {count}
</ra-button>
}