File tree 3 files changed +6
-6
lines changed
modules/users/edit-user-sheet
3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -2,8 +2,6 @@ import { css } from '@emotion/css';
2
2
import { Theme } from '@mui/material' ;
3
3
4
4
export const root = ( theme : Theme ) => css `
5
- width : 100% ;
6
- max-width : 1208px ;
7
5
display : flex;
8
6
flex-direction : column;
9
7
gap : ${ theme . spacing ( 4 ) } ;
Original file line number Diff line number Diff line change 1
1
import React from 'react' ;
2
- import { useParams } from '@tanstack/react-router' ;
3
2
import { Tabs as MUITabs , Tab , Paper } from '@mui/material/' ;
3
+ import { Edit as EditIcon , Https as LockIcon } from '@mui/icons-material' ;
4
+ import { useParams } from '@tanstack/react-router' ;
4
5
import { EditUserSheet } from '#modules/users/edit-user-sheet/edit-user-sheet.pod.tsx' ;
5
6
import { EditResetPassword } from '#modules/users/edit-reset-password/edit-reset-password.pod.tsx' ;
6
7
import { TabPanel } from './components/tab-panel.component' ;
@@ -22,8 +23,8 @@ export const UserScene: React.FC = () => {
22
23
< Paper elevation = { 0 } >
23
24
< div className = { innerClasses . tabsContainer } >
24
25
< MUITabs value = { activeTab } onChange = { handleChange } >
25
- < Tab label = "Ficha de usuario" />
26
- < Tab label = "Resetear Password" />
26
+ < Tab label = "Ficha de usuario" icon = { < EditIcon /> } iconPosition = "start" />
27
+ < Tab label = "Resetear Password" icon = { < LockIcon /> } iconPosition = "start" />
27
28
</ MUITabs >
28
29
</ div >
29
30
< TabPanel value = { activeTab } index = { TabIndex . USER_SHEET } >
Original file line number Diff line number Diff line change 1
1
import { css } from '@emotion/css' ;
2
2
3
3
export const tabsComponent = css `
4
+ width : 100% ;
5
+ max-width : 1208px ;
4
6
display : 'flex' ;
5
7
flex-direction : 'column' ;
6
8
align-items : 'center' ;
7
- width : 100% ;
8
9
` ;
9
10
10
11
export const tabsContainer = css `
You can’t perform that action at this time.
0 commit comments