mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
wip: add basic option header
This commit is contained in:
parent
70c2efd711
commit
488e92e7f5
12
public/app/core/components/Picker/GroupHeading.tsx
Normal file
12
public/app/core/components/Picker/GroupHeading.tsx
Normal 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;
|
@ -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';
|
||||
|
||||
|
5
public/sass/components/_group-heading.scss
Normal file
5
public/sass/components/_group-heading.scss
Normal file
@ -0,0 +1,5 @@
|
||||
.picker-option-group {
|
||||
cursor: default;
|
||||
font-weight: $lead-font-weight;
|
||||
color: $btn-primary-bg-hl;
|
||||
}
|
Loading…
Reference in New Issue
Block a user