mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-10-11 17:56:37 +08:00
prettier
This commit is contained in:
@@ -8,7 +8,7 @@ interface CommonControlledStateProps<T> {
|
||||
/**
|
||||
* 受控状态 Hook
|
||||
* 用于处理受控和非受控组件的状态管理
|
||||
*
|
||||
*
|
||||
* @example
|
||||
* ```tsx
|
||||
* const [value, setValue] = useControlledState({ value: propValue, onChange: console.log })
|
||||
|
||||
Reference in New Issue
Block a user