You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
draw-a-ui/app/components/ExportButton.tsx

18 lines
385 B
TypeScript

import { useMakeReal } from '../hooks/useMakeReal'
export function ExportButton() {
const makeReal = useMakeReal()
return (
<button
onClick={makeReal}
className="p-2"
style={{ cursor: 'pointer', zIndex: 100000, pointerEvents: 'all' }}
>
<div className="bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded">
Make Real
</div>
</button>
)
}