From 8d88e7418ec0fb2a4afe71417fa1eb34c1e1060f Mon Sep 17 00:00:00 2001 From: Geireann Lindfield Roberts <60007097+geireann@users.noreply.github.com> Date: Wed, 29 Jun 2022 21:04:20 -0700 Subject: Prettier and eslint rules added! --- .../views/nodes/button/textButton/TextButton.tsx | 23 +++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) (limited to 'src/client/views/nodes/button/textButton/TextButton.tsx') diff --git a/src/client/views/nodes/button/textButton/TextButton.tsx b/src/client/views/nodes/button/textButton/TextButton.tsx index e18590a95..5d7d55863 100644 --- a/src/client/views/nodes/button/textButton/TextButton.tsx +++ b/src/client/views/nodes/button/textButton/TextButton.tsx @@ -9,9 +9,22 @@ export class TextButton extends Component { // Determine the type of toggle button const buttonText: boolean = BoolCast(this.props.rootDoc.switchToggle); - return (
- - {this.props.label} -
); + return ( +
+ + {this.props.label} +
+ ); } -} \ No newline at end of file +} -- cgit v1.2.3-70-g09d2