Skip to content
1 change: 1 addition & 0 deletions changelogs/upcoming/7576.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Updated `EuiSuperUpdateButton` to support custom button text via an optional `children` prop
5 changes: 5 additions & 0 deletions src-docs/src/views/super_date_picker/playground.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,11 @@ export const superUpdateButtonConfig = () => {

propsToUse.onClick = simulateFunction(propsToUse.onClick, true);

propsToUse.children = {
...propsToUse.children,
type: PropTypes.String,
};

return {
config: {
componentName: 'EuiSuperUpdateButton',
Expand Down
Loading