Module

Shareholder

Represents the Shareholder page component

View Source pages/Dashboard/Shareholder/Shareholder.jsx, line 10

Members

# static edit

React state that holds the edit state

Default Value:
  • false

View Source pages/Dashboard/Shareholder/Shareholder.jsx, line 25

# static fileInput

React state that holds the file input

Default Value:
  • null

View Source pages/Dashboard/Shareholder/Shareholder.jsx, line 42

React.MutableRefObject.<null>

# static constant fileInputRef

React useRef that holds the file input

Default Value:
  • null

View Source pages/Dashboard/Shareholder/Shareholder.jsx, line 58

# static isLoading

React state that holds the loading state

Default Value:
  • true

View Source pages/Dashboard/Shareholder/Shareholder.jsx, line 33

# static user

React state that holds the user data

Default Value:
  • {}

View Source pages/Dashboard/Shareholder/Shareholder.jsx, line 17

Methods

# async static apicall() → {Promise.<void>}

Function that handles the api call for getting shareholder data

View Source pages/Dashboard/Shareholder/Shareholder.jsx, line 131

Promise.<void>

# static handleImageChange(e) → {void}

Function that handles the image change

Parameters:
Name Type Description
e Event

Html event

View Source pages/Dashboard/Shareholder/Shareholder.jsx, line 67

void

# async static handleSubmit() → {Promise.<void>}

Function that handles the submit

View Source pages/Dashboard/Shareholder/Shareholder.jsx, line 79

Promise.<void>