Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

useNumberField and NumberField can not be imported (probably not exported from lib) #399

Closed
pav-stastny opened this issue May 9, 2024 · 1 comment · Fixed by #400
Closed
Labels
bug 🐛 Something doesn't work component: number field This is the name of the generic UI component, not the React module!

Comments

@pav-stastny
Copy link

pav-stastny commented May 9, 2024

Steps to reproduce

Link to live example: (required)

Steps:

  1. Go to docs: https://base-ui.netlify.app/base-ui/react-number-field/
  2. Open stackblitz or codesandbox (https://codesandbox.io/p/sandbox/nice-williamson-6kk3lc?file=%2Fsrc%2FDemo.tsx)
  3. It does not work

Current behavior

useNumberField can not be imported

Expected behavior

useNumberField can be imported

Context

No response

Your environment

No response

Search keywords: useNumberField NumberField

@pav-stastny pav-stastny added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label May 9, 2024
@atomiks
Copy link
Contributor

atomiks commented May 10, 2024

Thanks for the report - they indeed weren't exported in the package.json files. PR #400 has been opened to fix.

@atomiks atomiks added component: number field This is the name of the generic UI component, not the React module! bug 🐛 Something doesn't work and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work component: number field This is the name of the generic UI component, not the React module!
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants