ActionArea

ActionArea UI Component

Installation

npm i @synerise/ds-action-area
or
yarn add @synerise/ds-action-area

Usage

import ActionArea from '@synerise/ds-action-area'
<ActionArea description="Description" label="Label" actionLabel="Define" action={() => {}} />

Demo

API

PropertyDescriptionTypeDefault
actionFunction called when user clicks on ActionButtonFunction-
actionLabelLabel of action buttonstring/ React.ReactNode-
descriptionDescription of ActionAreastring/ React.ReactNode-
labelLabel of ActionAreastring/ React.ReactNode-