Currently it displays an X icon which I can see is hard-coded in the renderClosebutton() function in inplace.js:
Code: Select all
key: "renderCloseButton",
value: function renderCloseButton() {
if (this.props.closable) {
return /*#__PURE__*/React__default['default'].createElement(button.Button, {
type: "button",
className: "p-inplace-content-close",
icon: "pi pi-times",
onClick: this.close
});
}
Ideally the icon could be provided by a component prop (can you add this to the feature request list?), but for the time-being I would be happy to hard code it. I thought that doing so in the Inplace component's .js files would do the trick, but no. Can you provide some guidance on how to do this?