diff --git a/src/base/Button/Button.tsx b/src/base/Button/Button.tsx index 534ae2de..bc5a6fce 100644 --- a/src/base/Button/Button.tsx +++ b/src/base/Button/Button.tsx @@ -14,20 +14,4 @@ export function Button({ label, children, ...props }: ButtonProps): JSX.Element ); } -export const ContainedButton = (props: ButtonProps): JSX.Element => ( - -); -export const OutlinedButton = (props: ButtonProps): JSX.Element => ( - -); -export const TextButton = (props: ButtonProps): JSX.Element => ( - -); - export default Button; diff --git a/src/custom/Modal/index.tsx b/src/custom/Modal/index.tsx index feff3092..f563339d 100644 --- a/src/custom/Modal/index.tsx +++ b/src/custom/Modal/index.tsx @@ -1,9 +1,9 @@ import { DialogProps, styled } from '@mui/material'; import React, { useRef, useState } from 'react'; import { Dialog, IconButton, Paper, Typography } from '../../base'; -import { ContainedButton, OutlinedButton, TextButton } from '../../base/Button/Button'; import { iconLarge } from '../../constants/iconsSizes'; import { CloseIcon, InfoCircleIcon } from '../../icons'; +import { ContainedButton, OutlinedButton, TextButton } from '../../styled'; import { CustomTooltip } from '../CustomTooltip'; interface ModalProps extends DialogProps { diff --git a/src/styled/button/index.tsx b/src/styled/button/index.tsx new file mode 100644 index 00000000..c28ef6c6 --- /dev/null +++ b/src/styled/button/index.tsx @@ -0,0 +1,193 @@ +import { styled } from '@mui/material/styles'; +import React from 'react'; +import Button, { ButtonProps } from '../../base/Button/Button'; +import { darkTeal } from '../../theme/colors'; + +export function ContainedButton(props: ButtonProps): React.JSX.Element { + return