aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/button/textButton/TextButton.tsx
diff options
context:
space:
mode:
authorGeireann Lindfield Roberts <60007097+geireann@users.noreply.github.com>2023-07-18 01:17:28 -0400
committerGitHub <noreply@github.com>2023-07-18 01:17:28 -0400
commit8f6d25ed985a91f6b926306a7e88d6d0c8742845 (patch)
treedbc93432569d1290ee26e914d78efa8c7b770379 /src/client/views/nodes/button/textButton/TextButton.tsx
parent54547a9e69726bbacf545296d84723f902ec7097 (diff)
parent12d1a17f4151a4f1c2a5a49287e65be7794a622c (diff)
Merge pull request #185 from brown-dash/geireann_dash_components
Dash Components
Diffstat (limited to 'src/client/views/nodes/button/textButton/TextButton.tsx')
-rw-r--r--src/client/views/nodes/button/textButton/TextButton.tsx30
1 files changed, 0 insertions, 30 deletions
diff --git a/src/client/views/nodes/button/textButton/TextButton.tsx b/src/client/views/nodes/button/textButton/TextButton.tsx
deleted file mode 100644
index 5d7d55863..000000000
--- a/src/client/views/nodes/button/textButton/TextButton.tsx
+++ /dev/null
@@ -1,30 +0,0 @@
-import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
-import React, { Component } from 'react';
-import { BoolCast } from '../../../../../fields/Types';
-import { IButtonProps } from '../ButtonInterface';
-
-export class TextButton extends Component<IButtonProps> {
- render() {
- const type = this.props.type;
- // Determine the type of toggle button
- const buttonText: boolean = BoolCast(this.props.rootDoc.switchToggle);
-
- return (
- <div
- className={`menuButton ${this.props.type}`}
- style={{
- opacity: 1,
- backgroundColor: this.props.backgroundColor,
- color: this.props.color,
- }}
- >
- <FontAwesomeIcon
- className={`fontIconBox-icon-${this.props.type}`}
- icon={this.props.icon}
- color={this.props.color}
- />
- {this.props.label}
- </div>
- );
- }
-}