Skip to content

Компонент SimpleCell свойство after #6680

Closed Answered by SevereCloud
KirKMS asked this question in Q&A
Discussion options

You must be logged in to vote

Привет, нужно вызвать preventDefault для события нажатия кнопки

<SimpleCell
  href="#"
  after={
    <Button onClick={(e)=>{e.preventDefault()}}>
      Удалить
    </Button>
  }
>
  Игорь Фёдоров
 </SimpleCell>

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@KirKMS
Comment options

Answer selected by SevereCloud
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants