-
Notifications
You must be signed in to change notification settings - Fork 71
chore(Wizard) Updates wizard utilities to use hooks and compound-components
#3200
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
Conversation
|
|
Size Change: 0 B Total Size: 1.6 MB ℹ️ View Unchanged
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1 small thing to take a look at with how useControlled is being used but overall 🤌 🤌🤌
| import { CompoundSubComponent } from '@leafygreen-ui/compound-component'; | ||
| import { Direction } from '@leafygreen-ui/descendants'; | ||
| import { FormFooter } from '@leafygreen-ui/form-footer'; | ||
| import { consoleOnce } from '@leafygreen-ui/lib'; | ||
|
|
||
| import { WizardSubComponentProperties } from '../constants'; | ||
| import { CompoundSubComponent } from '../utils/CompoundSubComponent'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
3c99d68 to
3ae99f8
Compare
aa4a814 to
667925a
Compare

Depends on #3199
Replaces
useControlledhook andCompoundComponentutilities