mirror of
https://github.com/supabase/supabase.git
synced 2026-10-09 19:35:06 +03:00
* Move all studio files from /studio to /apps/studio. * Move studio specific prettier ignores. * Fix the ui references from studio. * Fix the css imports. * Fix all package.json issues. * Fix the prettier setup for the studio app. * Add .turbo folder to prettierignore. * Fix the github workflows.
14 lines
331 B
TypeScript
14 lines
331 B
TypeScript
import { Button, IconArrowLeft } from 'ui'
|
|
|
|
export function BackButton({ onClick }: { onClick: () => void }) {
|
|
return (
|
|
<div className="-ml-2 2xl:absolute 2xl:top-[2px] 2xl:left-0">
|
|
<Button type="text" icon={<IconArrowLeft />} onClick={onClick}>
|
|
Back
|
|
</Button>
|
|
</div>
|
|
)
|
|
}
|
|
|
|
export default BackButton
|