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

tests: added interaction tests for numberinput #53

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

thetaungg
Copy link
Contributor

No description provided.

@thetaungg thetaungg changed the title added interaction tests for numberinput tests: added interaction tests for numberinput Dec 22, 2022

export type Props = NumberInputProps & {};

export const Example = (props: Props) => {
const { NumberInput } = useMolecules();

const [number, setNumber] = useState('');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In this case, the value property also doesn't work.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NumberInput doesn't have any controlled story

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added uncontrolled story

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants