@smart-cloud/aws-amplify-ui-react-core
v3.6.4
Published
`@aws-amplify/ui-react-core` is a React platform agnostic utility library for Amplify UI internal usage in `@aws-amplify/ui-react*` and `@aws-amplify/ui-react-native*` namespaced packages.
Readme
Amplify UI React Core
@aws-amplify/ui-react-core is a React platform agnostic utility library for Amplify UI internal usage in @aws-amplify/ui-react* and @aws-amplify/ui-react-native* namespaced packages.
Contents
Authenticator
AuthenticatorProvider- Provider component for Authenticator contextuseAuthenticator- Hook for accessing Authenticator functionalityuseAuthenticatorRoute- Hook for accessing Authenticator route informationuseAuthenticatorInitMachine- Hook for initializing Authenticator state machineisAuthenticatorComponentRouteKey- Utility function for checking route keysresolveAuthenticatorComponents- Utility function for resolving Authenticator components
Form Components and Hooks
FormProvider- Provider component for form contextuseField- Hook for accessing form field functionalityuseForm- Hook for accessing form functionalitywithFormProvider- Higher-order component for adding form provider capabilitiesRenderNothing- Utility component for rendering nothing
Utility Hooks
useAsyncReducer- Hook for async state managementuseControlledReducer- Hook for controlled state managementuseDeprecationWarning- Hook for displaying deprecation warningsuseDropZone- Hook for drag and drop functionalityuseGetUrl- Hook for getting URLsuseHasValueUpdated- Hook for checking if a value has updatedusePreviousValue- Hook for accessing previous valueuseSetUserAgent- Hook for setting user agentuseTimeout- Hook for timeout functionality
Utility Functions
createContextUtilities- Utility function for creating context utilities
Type Definitions
- Various type definitions for Authenticator, Form, and utility components
