mirror of
https://github.com/movie-web/movie-web.git
synced 2024-06-03 05:08:45 +02:00
15 lines
549 B
JavaScript
15 lines
549 B
JavaScript
import React from 'react'
|
|
import './Arrow.css'
|
|
|
|
// left?: boolean
|
|
export function Arrow(props) {
|
|
return (
|
|
<div className="arrow">
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="1rem" height="1rem" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class={`feather ${props.left?'left':''}`}>
|
|
<line x1="5" y1="12" x2="19" y2="12"></line>
|
|
<polyline points="12 5 19 12 12 19"></polyline>
|
|
</svg>
|
|
</div>
|
|
)
|
|
}
|