mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 18:57:03 +02:00
21 lines
362 B
TypeScript
21 lines
362 B
TypeScript
interface DeltaCaretProps {
|
|
delta: number;
|
|
}
|
|
|
|
export function DeltaCaret({ delta }: DeltaCaretProps) {
|
|
return (
|
|
<img
|
|
style={{
|
|
width: 16,
|
|
height: 16,
|
|
objectFit: 'contain',
|
|
}}
|
|
src={
|
|
delta > 0
|
|
? 'https://i.imgur.com/gjI4a5f.png'
|
|
: 'https://i.imgur.com/lLGZygN.png'
|
|
}
|
|
/>
|
|
);
|
|
}
|