ToggleSwitch
Summary: fixing ts-strict errors Reviewed By: passy Differential Revision: D17181148 fbshipit-source-id: 959a01fd61950ddb263c3b9c44c9069d19541c36
This commit is contained in:
committed by
Facebook Github Bot
parent
cfd4793d05
commit
e29563cfca
@@ -66,7 +66,7 @@ export default class ToggleButton extends React.Component<Props> {
|
||||
<>
|
||||
<StyledButton
|
||||
className={this.props.className}
|
||||
toggled={this.props.toggled}
|
||||
toggled={this.props.toggled || false}
|
||||
onClick={this.props.onClick}
|
||||
/>
|
||||
{this.props.label && <Label>{this.props.label}</Label>}
|
||||
|
||||
Reference in New Issue
Block a user