source: src/layouts/_common/login-button.tsx@ 5d6f37a

main
Last change on this file since 5d6f37a was 5d6f37a, checked in by Naum Shapkarovski <naumshapkarovski@…>, 8 weeks ago

add customer

  • Property mode set to 100644
File size: 548 bytes
Line 
1// @mui
2import { Theme, SxProps } from '@mui/material/styles';
3import Button from '@mui/material/Button';
4// routes
5import { RouterLink } from 'src/routes/components';
6// config
7import { PATH_AFTER_LOGIN } from 'src/config-global';
8
9// ----------------------------------------------------------------------
10
11type Props = {
12 sx?: SxProps<Theme>;
13};
14
15export default function LoginButton({ sx }: Props) {
16 return (
17 <Button component={RouterLink} href={PATH_AFTER_LOGIN} variant="outlined" sx={{ mr: 1, ...sx }}>
18 Login
19 </Button>
20 );
21}
Note: See TracBrowser for help on using the repository browser.