Changeset View
Changeset View
Standalone View
Standalone View
web/vectors.react.js
Show All 15 Lines | <svg | ||||
xmlns="http://www.w3.org/2000/svg" | xmlns="http://www.w3.org/2000/svg" | ||||
xmlSpace="preserve" | xmlSpace="preserve" | ||||
xmlnsXlink="http://www.w3.org/1999/xlink" | xmlnsXlink="http://www.w3.org/1999/xlink" | ||||
{...props} | {...props} | ||||
/> | /> | ||||
); | ); | ||||
} | } | ||||
export function LeftPager(props: { className?: string }): React.Node { | |||||
return ( | |||||
<SVG className={props.className} viewBox="0 0 512 512"> | |||||
<polygon | |||||
points={ | |||||
'352,128.4 319.7,96 160,256 160,256 160,256 319.7,416 ' + | |||||
'352,383.6 224.7,256' | |||||
} | |||||
/> | |||||
</SVG> | |||||
); | |||||
} | |||||
export function RightPager(props: { className?: string }): React.Node { | |||||
return ( | |||||
<SVG className={props.className} viewBox="0 0 512 512"> | |||||
<polygon | |||||
points={ | |||||
'160,128.4 192.3,96 352,256 352,256 352,256 192.3,416 ' + | |||||
'160,383.6 287.3,256 ' | |||||
} | |||||
/> | |||||
</SVG> | |||||
); | |||||
} | |||||
export function UpCaret(props: { className?: string }): React.Node { | export function UpCaret(props: { className?: string }): React.Node { | ||||
return ( | return ( | ||||
<SVG | <SVG | ||||
viewBox="0 0 8 8" | viewBox="0 0 8 8" | ||||
preserveAspectRatio="none" | preserveAspectRatio="none" | ||||
className={props.className} | className={props.className} | ||||
> | > | ||||
<path d="M4 2l-4 4h8l-4-4z" /> | <path d="M4 2l-4 4h8l-4-4z" /> | ||||
▲ Show 20 Lines • Show All 67 Lines • Show Last 20 Lines |