Skip to content

Commit

Permalink
docs(EuiSuperUpdateButton): configure playground to support basic `ch…
Browse files Browse the repository at this point in the history
…ildren` customization
  • Loading branch information
tkajtoch committed Mar 13, 2024
1 parent d3b89ad commit ce4deb4
Showing 1 changed file with 5 additions and 0 deletions.
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

0 comments on commit ce4deb4

Please sign in to comment.