Skip to content

Commit

Permalink
feat(toolbox): fixed linter 2
Browse files Browse the repository at this point in the history
  • Loading branch information
Calinteodor committed Jan 28, 2025
1 parent 187005a commit 7df0754
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions react/features/toolbox/components/native/CustomOptionButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,12 @@ class CustomOptionButton extends AbstractButton<IProps> {
);
}

return(
<View style = { this.props.isToolboxButton && [
styles.toolboxButtonIconContainer,
{ backgroundColor: this.backgroundColor } ] as ViewStyle }>
return (
<View style = {

Check failure on line 62 in react/features/toolbox/components/native/CustomOptionButton.tsx

View workflow job for this annotation

GitHub Actions / Lint

Property should be placed on a new line
this.props.isToolboxButton && [
styles.toolboxButtonIconContainer,
{ backgroundColor: this.backgroundColor }
] as ViewStyle }>
{ iconComponent }
</View>
);
Expand Down

0 comments on commit 7df0754

Please sign in to comment.