mirror of
https://github.com/IRBorisov/ConceptPortal.git
synced 2025-06-27 13:30:36 +03:00
22 lines
572 B
TypeScript
22 lines
572 B
TypeScript
import ConceptTooltip from '../../../components/Common/ConceptTooltip';
|
|
import InfoConstituenta from '../../../components/Help/InfoConstituenta';
|
|
import { IConstituenta } from '../../../utils/models';
|
|
|
|
interface ConstituentaTooltipProps {
|
|
data: IConstituenta
|
|
anchor: string
|
|
}
|
|
|
|
function ConstituentaTooltip({ data, anchor }: ConstituentaTooltipProps) {
|
|
return (
|
|
<ConceptTooltip
|
|
anchorSelect={anchor}
|
|
className='max-w-[25rem] min-w-[25rem]'
|
|
>
|
|
<InfoConstituenta data={data} />
|
|
</ConceptTooltip>
|
|
);
|
|
}
|
|
|
|
export default ConstituentaTooltip;
|