Reach UI is an accessible foundation for React applications and design systems.
The three equally important goals are to be:
- Accessible
- Composable
- Stylable
| import * as React from 'react'; | |
| /** | |
| * React.Ref uses the readonly type `React.RefObject` instead of | |
| * `React.MutableRefObject`, We pretty much always assume ref objects are | |
| * mutable (at least when we create them), so this type is a workaround so some | |
| * of the weird mechanics of using refs with TS. | |
| */ | |
| export type AssignableRef<ValueType> = | |
| | { |