main
Last change
on this file 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
|
---|
2 | import { Theme, SxProps } from '@mui/material/styles';
|
---|
3 | import Button from '@mui/material/Button';
|
---|
4 | // routes
|
---|
5 | import { RouterLink } from 'src/routes/components';
|
---|
6 | // config
|
---|
7 | import { PATH_AFTER_LOGIN } from 'src/config-global';
|
---|
8 |
|
---|
9 | // ----------------------------------------------------------------------
|
---|
10 |
|
---|
11 | type Props = {
|
---|
12 | sx?: SxProps<Theme>;
|
---|
13 | };
|
---|
14 |
|
---|
15 | export 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.