[react] feat: Added docs for hooks/useDesign
This commit is contained in:
parent
17e8e5ec09
commit
fcf0328555
3 changed files with 84 additions and 7 deletions
|
@ -25,9 +25,10 @@ based on the control setting.
|
|||
import { useControl } from '@freesewing/react/hooks/useControl'
|
||||
|
||||
const MyComponent = () => {
|
||||
control,
|
||||
setControl,
|
||||
} = useControl()
|
||||
const {
|
||||
control,
|
||||
setControl,
|
||||
} = useControl()
|
||||
|
||||
// ...
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue