diff --git a/webapp/src/components/viewTitle.tsx b/webapp/src/components/viewTitle.tsx index 6dfea7e36..63cc9e5c5 100644 --- a/webapp/src/components/viewTitle.tsx +++ b/webapp/src/components/viewTitle.tsx @@ -54,8 +54,8 @@ class ViewTitle extends React.Component { const newIcon = BlockIcons.shared.randomIcon() mutator.changeIcon(board, newIcon) }} + icon={} > - ) => void - style?: React.CSSProperties - backgroundColor?: string children?: React.ReactNode title?: string + icon?: React.ReactNode } export default class Button extends React.Component { render() { - const style = {...this.props.style, backgroundColor: this.props.backgroundColor} return (
+ {this.props.icon} {this.props.children}
) }