mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 01:13:23 -04:00
Updating legend to use gray/blue gradient (#28206)
This commit is contained in:
parent
314dd4d23a
commit
b14194fdeb
1 changed files with 2 additions and 10 deletions
|
@ -58,17 +58,9 @@ const initialState = {
|
|||
value: 0,
|
||||
color: '#D3DAE6',
|
||||
},
|
||||
{
|
||||
value: 0.65,
|
||||
color: '#00B3A4',
|
||||
},
|
||||
{
|
||||
value: 0.8,
|
||||
color: '#E6C220',
|
||||
},
|
||||
{
|
||||
value: 1,
|
||||
color: '#DB1374',
|
||||
color: '#3185FC',
|
||||
},
|
||||
],
|
||||
},
|
||||
|
@ -82,7 +74,7 @@ interface WithOptionsProps {
|
|||
|
||||
type State = Readonly<typeof initialState>;
|
||||
|
||||
export const withOptions = <P extends InfraOptions>(WrappedComponent: React.ComponentType<P>) => (
|
||||
export const withOptions = (WrappedComponent: React.ComponentType<InfraOptions>) => (
|
||||
<WithOptions>{args => <WrappedComponent {...args} />}</WithOptions>
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue