import DeleteButton from 'ceo-core/application/components/common/delete-button.js'
DeleteButton
Extends:
react~React.Component → BaseView → DeleteButton
Hold to delete button. Eschews traditional "Are you sure" box by forcing the user to hold the button for about 10 seconds before deleteing.
Parent component should provide onDelete property to handle when deletion is confirmed
Constructor Summary
Public Constructor | ||
public |
constructor(props: *) |
Member Summary
Public Members | ||
public |
state: * |
Method Summary
Public Methods | ||
public |
|
|
public |
|
|
public |
handleDown(e: *) |
|
public |
|
|
public |
handleUp(e: *) |
|
public |
render(): * |
Inherited Summary
From class BaseView | ||
public |
getChildContext(): * |
Public Constructors
public constructor(props: *) source
Params:
Name | Type | Attribute | Description |
props | * |