Component to display the logged in user details and other actions related to the Account.
npm install --save carelynx-account-settings-component
import React, { Component } from 'react';
import { AccountSettingsComponent } from 'carelynx-account-settings-component';
const App = () => {
return <AccountSettingsComponent />;
};
prop | type | description |
---|---|---|
user |
object |
User object which has the user details like the first name, last name, email, etc. |
title |
string |
Title for the Component |
showResetPassword |
boolean |
Hide or show the Reset Password button. By default the value is set to true
|
showLogout |
boolean |
Hide or show the Logout button. By default the value is set to true
|
logout |
func |
Callback for the Logout button |
resetPassword |
func |
Callback for the Reset Password button |