AccountDeleteButton
Interfaces
AccountDeleteButtonProps
Extends
- Pick<- ButtonProps,- Exclude<keyof- ButtonProps,- "onClick"|- "disabled">>
Indexable
[p: string]: any
Others properties
Properties
| Property | Type | Description | 
|---|---|---|
| onDeleteAccount? | ( user?) =>void | Callback when delete account | 
Functions
AccountDeleteButton()
AccountDeleteButton(
inProps):Element
API documentation for the Community-JS Account Delete Button component. Learn about the available props and the CSS API.
This component display a button that open a Dialog that display the AccountDelete component.
Import
import {AccountDeleteButton} from '@selfcommunity/react-ui';
Component Name
The name SCAccountDeleteButton can be used when providing style overrides in the theme.
CSS
| Rule Name | Global class | Description | 
|---|---|---|
| root | .SCAccountDeleteButton-root | Styles applied to the root element. | 
| dialogRoot | .SCAccountDeleteButton-dialog-root | Styles applied to the dialog root element. | 
Parameters
| Parameter | Type | Description | 
|---|---|---|
| inProps | AccountDeleteButtonProps | 
Returns
Element