Represents the Shareholder page component
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
Promise.<void>
# static handleImageChange(e) → {void}
Function that handles the image change
Parameters:
| Name | Type | Description |
|---|---|---|
e |
Event
|
Html event |
void