Files
blitzkit/src/components/DeltaCaret.tsx
T

17 lines
304 B
TypeScript
Raw Normal View History

2024-03-24 22:06:48 -05:00
interface DeltaCaretProps {
delta: number;
}
export function DeltaCaret({ delta }: DeltaCaretProps) {
return (
<img
width={16}
height={16}
src={
delta > 0
? 'https://i.imgur.com/gjI4a5f.png'
: 'https://i.imgur.com/lLGZygN.png'
}
/>
);
}