admin管理员组

文章数量:1431426

I'm using react-elastic-carousel and i am trying to render my own custom arrows.
This is my code (taken from an example in the docs)

function App() {
  return (
    <div>
      <Carousel
        renderArrow={({ type, onClick }) => {
          const pointer = type === consts.PREV ? '

本文标签: javascriptReact Carousel renderArrow consts is not definedStack Overflow