pagotic-module
v0.1.35
Published
## Exported:
Readme
PagoTIC Module
Exported:
Authentication:
SignInScreen:
SignIn screen that handles login and errors.
Props:
- setItemStorage: Function to set the signin response (including access token) in the storage
- showToast: Function to show any text in the toast.
- theme: Theme of the app.
Redux
AuthenticationActions
Actions for SIGN_IN and SIGN_OUT.
Both has:
{ CATCH: 'SIGN_IN_CATCH', FAILURE: 'SIGN_IN_FAILURE', START: 'SIGN_IN_START', MIDDLE: 'SIGN_IN_MIDDLE', SUCCESS: 'SIGN_IN_SUCCESS', }
#### AuthenticationReducer
To handle authentication actions
Interfaces:
Session, Actions, SignInForm, SignInResponse
ConfigProvider
A provider that must be used to wrap the app.
Params:
- config: An object with ENV, AUTH and KEYCLOAK_CLIENT_ID.
### Components:
Components exported: Button, DropDown, DynamicForm, Header, Number, PopMenu, ProfileModal, AmountTextInput, ComboBox, DateDoublePickerInput, DropDownInput, HiddenTextInput, TextInput Splash, Surface, Suspensee, Text, CreditCard
Hooks
useStorage
To handle storage.
Functions: hasSession, getItem, setItem, setItems, removeItem, removeItems,
