Files
yaak/src-web/components/DropMarker.tsx
Gregory Schier 4f9a7e9c88 2024.5.0 (#39)
2024-06-03 14:08:24 -07:00

23 lines
515 B
TypeScript

import classNames from 'classnames';
import React, { memo } from 'react';
interface Props {
className?: string;
}
export const DropMarker = memo(
function DropMarker({ className }: Props) {
return (
<div
className={classNames(
className,
'relative w-full h-0 overflow-visible pointer-events-none',
)}
>
<div className="absolute z-50 left-2 right-2 -bottom-[0.1rem] h-[0.2rem] bg-fg-primary rounded-full" />
</div>
);
},
() => true,
);