mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
parent
aa552ad5bc
commit
8b46218603
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