openreplay/frontend/app/components/Dashboard/components/AddCardModal/AddCardModal.tsx
Andrey Babushkin fd5c0c9747
Add lokalisation (#3092)
* applied eslint

* add locales and lint the project

* removed error boundary

* updated locales

* fix min files

* fix locales
2025-03-06 17:43:15 +01:00

24 lines
540 B
TypeScript

import Modal from 'App/components/Modal/Modal';
import React from 'react';
import MetricTypeList from '../MetricTypeList';
interface Props {
siteId: string;
dashboardId?: string;
}
function AddCardModal(props: Props) {
return (
<>
<Modal.Header title="Add Card" />
<Modal.Content className="px-3 pb-6">
<MetricTypeList
siteId={props.siteId}
dashboardId={parseInt(props.dashboardId as string)}
isList
/>
</Modal.Content>
</>
);
}
export default AddCardModal;