Task decision
Tasks and decisions react components
yarn add @atlaskit/task-decision
19.0.3
Patch Changes
- Updated dependencies
Note: This component is designed for internal Atlassian development.
External contributors will be able to use this component but will not be able to submit issues.
This component provides components for rendering tasks and decisions.
Usage
Use the component in your React app as follows:
import { DecisionList, DecisionItem } from '@atlaskit/task-decision';
ReactDOM.render(<DecisionItem>A decision</DecisionItem>, container);
ReactDOM.render(
<DecisionList>
<DecisionItem>A decision</DecisionItem>
<DecisionItem>Another decision</DecisionItem>
</DecisionList>,
container,
);
};
Status Picker
Simple DecisionItem
Long DecisionItem
Simple DecisionItem with renderer
Hello world
This is a some content 😉 was here.
Simple DecisionItem with placeholder
Decision Props
children
any
contentRef
object
string function required ref => undefined
placeholder
string
showPlaceholder
boolean
appearance
string
dataAttributes
object
[key: string] union required One of string, number