Files
supabase/studio/components/ui/BackButton.tsx
Jonathan Summers-Muir 720318f695 chore: feature flagged compute size selection upgrade/downgrade
also:
• update billing pages with new plan details.
• tidying up of smaller screen size responsiveness
• fixed issue with undefined name in enterprise contact form
2022-04-18 16:33:45 +08:00

14 lines
343 B
TypeScript

import { Button, IconArrowLeft } from '@supabase/ui'
export function BackButton({ onClick }: { onClick: () => void }) {
return (
<div className="2xl:absolute 2xl:top-[2px] -ml-2 2xl:-left-24">
<Button type="text" icon={<IconArrowLeft />} onClick={onClick}>
Back
</Button>
</div>
)
}
export default BackButton