carelynx-account-settings-component

1.1.1 • Public • Published

carelynx-account-settings-component

Component to display the logged in user details and other actions related to the Account.

NPM JavaScript Style Guide

Install

npm install --save carelynx-account-settings-component

Usage

import React, { Component } from 'react';
import { AccountSettingsComponent } from 'carelynx-account-settings-component';

const App = () => {
  return <AccountSettingsComponent />;
};

Props

Special props:

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

License

MIT ©

Readme

Keywords

none

Package Sidebar

Install

npm i carelynx-account-settings-component

Weekly Downloads

2

Version

1.1.1

License

MIT

Unpacked Size

15.4 kB

Total Files

9

Last publish

Collaborators

  • linton.pinto