wip: add basic option header

This commit is contained in:
Erik Sundell 2018-12-11 20:11:18 +01:00
parent 70c2efd711
commit 488e92e7f5
3 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,12 @@
import React from 'react';
import { components } from 'react-select';
export const GroupHeading = props => {
return (
<label className="description-picker-option__button btn picker-option-group">
<components.GroupHeading {...props} />
</label>
);
};
export default GroupHeading;

View File

@ -105,6 +105,7 @@
@import 'components/page_loader';
@import 'components/thresholds';
@import 'components/toggle_button_group';
@import 'components/group-heading';
@import 'components/value-mappings';
@import 'components/popover-box';

View File

@ -0,0 +1,5 @@
.picker-option-group {
cursor: default;
font-weight: $lead-font-weight;
color: $btn-primary-bg-hl;
}