-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathAboutDevtronDialog.tsx
More file actions
25 lines (22 loc) · 909 Bytes
/
AboutDevtronDialog.tsx
File metadata and controls
25 lines (22 loc) · 909 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import { ComponentSizeType } from '@Shared/constants'
import { Backdrop } from '../Backdrop'
import { Button } from '../Button'
import AboutDevtronBody from './AboutDevtronBody'
const AboutDevtronDialog = ({ handleCloseLicenseInfoDialog }: { handleCloseLicenseInfoDialog }) => (
<Backdrop onEscape={handleCloseLicenseInfoDialog}>
<div className="flexbox-col w-400 br-12 bg__primary border__primary dc__m-auto mt-40">
<div className="p-24">
<AboutDevtronBody />
</div>
<div className="flex px-24 py-20 dc__content-end">
<Button
dataTestId="license-info-okay"
text="Okay"
size={ComponentSizeType.medium}
onClick={handleCloseLicenseInfoDialog}
/>
</div>
</div>
</Backdrop>
)
export default AboutDevtronDialog