-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Break out admin action button group into sub component on apps page, …
…part 0 of breaking down the group tables into accordions
- Loading branch information
Showing
3 changed files
with
34 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import {Grid, Paper} from '@mui/material'; | ||
import CreateUpdateGroup from '../../groups/CreateUpdate'; | ||
import {OktaUser, App} from '../../../api/apiSchemas'; | ||
|
||
interface AppsAdminActionGroupProps { | ||
currentUser: OktaUser; | ||
app: App; | ||
} | ||
|
||
export const AppsAdminActionGroup: React.FC<AppsAdminActionGroupProps> = ({currentUser, app}) => { | ||
return ( | ||
<Grid item xs={12} className={'app-detail app-detail-admin-action-group'}> | ||
<Paper | ||
sx={{ | ||
p: 2, | ||
display: 'flex', | ||
alignItems: 'center', | ||
}}> | ||
<CreateUpdateGroup defaultGroupType={'app_group'} currentUser={currentUser} app={app}></CreateUpdateGroup> | ||
</Paper> | ||
</Grid> | ||
); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters