mirror of
https://github.com/MoonTechLab/LunaTV.git
synced 2026-02-24 04:04:43 +08:00
14 lines
414 B
TypeScript
14 lines
414 B
TypeScript
import { ArrowLeft } from 'lucide-react';
|
|
|
|
export function BackButton() {
|
|
return (
|
|
<button
|
|
onClick={() => window.history.back()}
|
|
className='w-10 h-10 p-2 rounded-full flex items-center justify-center text-gray-600 hover:bg-gray-200/50 dark:text-gray-300 dark:hover:bg-gray-700/50 transition-colors'
|
|
aria-label='Back'
|
|
>
|
|
<ArrowLeft className='w-full h-full' />
|
|
</button>
|
|
);
|
|
}
|