next.js/test/development/basic/barrel-optimization/fixture/node_modules/my-client-lib/button.js
button.js7 lines173 B
import { useState } from 'react'

export function Button() {
  const [count, setCount] = useState(0)
  return <button onClick={() => setCount(count + 1)}>{count}</button>
}
Quest for Codev2.0.0
/
SIGN IN