showing results for - "prism react renderer"
Andrea
05 Nov 2019
1jsximport React from 'react'import styled from 'styled-components'import { AiOutlineLike } from 'react-icons/ai'
2const LikeButton = () => {  const [value, setValue] = React.useState(0)  return (    <Wrapper>      <div>        <button onClick={() => setValue(value + 1)}>          <AiOutlineLike />        </button>        <p>          Liked the post?          <br />          Click thumbs up few times        </p>      </div>      <span>+{value}</span>    </Wrapper>  )}
Isabella
30 May 2019
1jsximport React from 'react'import styled from 'styled-components'import { AiOutlineLike } from 'react-icons/ai'
2const LikeButton = () => {  const [value, setValue] = React.useState(0)  return (    <Wrapper>      <div>        <button onClick={() => setValue(value + 1)}>          <AiOutlineLike />        </button>        <p>          Liked the post?          <br />          Click thumbs up few times        </p>      </div>      <span>+{value}</span>    </Wrapper>  )}
queries leading to this page
prism react rendererprism react renderer