mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Added chips.
This commit is contained in:
parent
adad9b307f
commit
cba4eaaedd
@ -19,8 +19,9 @@
|
|||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import React, {Component} from 'react';
|
import React, {Component} from 'react';
|
||||||
import {FormattedMessage} from 'react-intl';
|
import {FormattedMessage} from 'react-intl';
|
||||||
import {Badge, Button, Form, FormFeedback, FormGroup, Input, Label, ModalFooter} from 'reactstrap';
|
import {Button, Form, FormFeedback, FormGroup, Input, Label, ModalFooter} from 'reactstrap';
|
||||||
import * as validator from '../../../../common/validator';
|
import * as validator from '../../../../common/validator';
|
||||||
|
import Chip from "../../../UIComponents/Chip/Chip";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The Second step of application create wizard.
|
* The Second step of application create wizard.
|
||||||
@ -328,14 +329,11 @@ class Step1 extends Component {
|
|||||||
<div id="batch-content">
|
<div id="batch-content">
|
||||||
{this.state.tags.map(tag => {
|
{this.state.tags.map(tag => {
|
||||||
return (
|
return (
|
||||||
<Badge
|
<Chip
|
||||||
id="application-tag"
|
|
||||||
value={tag.key}
|
|
||||||
key={tag.key}
|
key={tag.key}
|
||||||
onClick={() => this.handleRequestDelete(tag.key)}
|
content={tag}
|
||||||
>
|
onDelete={this.handleRequestDelete}
|
||||||
{tag.value}
|
/>
|
||||||
</Badge>
|
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
)}
|
)}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user