Skip to content

Commit a3ca345

Browse files
committed
Phenome: outline Chips support
1 parent 31ab19e commit a3ca345

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/phenome/components/chip.jsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export default {
1010
deleteable: Boolean,
1111
mediaBgColor: String,
1212
mediaTextColor: String,
13-
onDelete: Function,
13+
outline: Boolean,
1414
...Mixins.colorProps,
1515
},
1616
render() {
@@ -25,6 +25,7 @@ export default {
2525
style,
2626
mediaTextColor,
2727
mediaBgColor,
28+
outline,
2829
} = props;
2930

3031
let mediaEl;
@@ -59,6 +60,9 @@ export default {
5960
const classes = Utils.classNames(
6061
className,
6162
'chip',
63+
{
64+
'chip-outline': outline,
65+
},
6266
Mixins.colorClasses(props),
6367
);
6468

0 commit comments

Comments
 (0)