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

Add --mock flag support #26

Open
softmarshmallow opened this issue Aug 29, 2021 · 0 comments
Open

Add --mock flag support #26

softmarshmallow opened this issue Aug 29, 2021 · 0 comments

Comments

@softmarshmallow
Copy link
Member

Component variant on design tool often contains state of user interaction - e.g. A input cursor or a help text / actual input, a hover state.

See, the hover state is not a state that is exposed to outer component interface, it's a interaction state provided by native callbacks. So on design tool, hover=true variant should be marked as --mock so that design-sdk won't accidently recognize it as a state that is controllable by parent accessors.

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

No branches or pull requests

1 participant