24 lines
448 B
TypeScript
24 lines
448 B
TypeScript
|
const DropdownMenuItemCustom = ({
|
||
|
children,
|
||
|
className = "",
|
||
|
style,
|
||
|
dataTestId,
|
||
|
}: {
|
||
|
children: React.ReactNode;
|
||
|
className?: string;
|
||
|
style?: React.CSSProperties;
|
||
|
dataTestId?: string;
|
||
|
}) => {
|
||
|
return (
|
||
|
<div
|
||
|
className={`dropdown-menu-item-base dropdown-menu-item-custom ${className}`.trim()}
|
||
|
style={style}
|
||
|
data-testid={dataTestId}
|
||
|
>
|
||
|
{children}
|
||
|
</div>
|
||
|
);
|
||
|
};
|
||
|
|
||
|
export default DropdownMenuItemCustom;
|