Skip to content

Commit ce4deb4

Browse files
committed
docs(EuiSuperUpdateButton): configure playground to support basic children customization
1 parent d3b89ad commit ce4deb4

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src-docs/src/views/super_date_picker/playground.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,11 @@ export const superUpdateButtonConfig = () => {
7777

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

80+
propsToUse.children = {
81+
...propsToUse.children,
82+
type: PropTypes.String,
83+
};
84+
8085
return {
8186
config: {
8287
componentName: 'EuiSuperUpdateButton',

0 commit comments

Comments
 (0)