diff --git a/components/ui/Button.tsx b/components/ui/Button.tsx new file mode 100644 index 0000000000..80777b0964 --- /dev/null +++ b/components/ui/Button.tsx @@ -0,0 +1,17 @@ +import { useState } from 'react'; + +export default function Button(props) { + const [loading, setLoading] = useState(false); + + return( + + ); +} \ No newline at end of file diff --git a/pages/[user]/book.tsx b/pages/[user]/book.tsx index c84d0ab22e..4a9ed35320 100644 --- a/pages/[user]/book.tsx +++ b/pages/[user]/book.tsx @@ -12,6 +12,7 @@ import 'react-phone-number-input/style.css'; import PhoneInput from 'react-phone-number-input'; import { LocationType } from '../../lib/location'; import Avatar from '../../components/Avatar'; +import Button from '../../components/ui/Button'; dayjs.extend(utc); dayjs.extend(timezone); @@ -144,7 +145,7 @@ export default function Book(props) {
- + Cancel