You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As described in elastic/kibana#100881 the implementation of the EuiSuperDatePicker in Kibana will need to update the fill prop in order to remove it so we can use the style in another area of the apps.
Currently, the component does not provide options for extending the EuiButton props which would enable us to change the fill prop value in our implementation.
The result will be that the refresh button can use the default style and we can add the fill style to other primary actions in the UI, like so;
The text was updated successfully, but these errors were encountered:
I think the easiest and scalable solution is to do this is just to have the EuiSuperUpdateButton extend all EuiButton props and then add a updateButtonProps: EuiSuperUpdateButtonProps to the EuiSuperDatePicker component. Of course, we need to be mindful that the consumer cannot override props necessary for the button to behave correctly, so we just need to pay attention to where we spread these props.
Summary
As described in elastic/kibana#100881 the implementation of the
EuiSuperDatePicker
in Kibana will need to update thefill
prop in order to remove it so we can use the style in another area of the apps.Currently, the component does not provide options for extending the
EuiButton
props which would enable us to change thefill
prop value in our implementation.The result will be that the refresh button can use the default style and we can add the
fill
style to other primary actions in the UI, like so;The text was updated successfully, but these errors were encountered: