✨ Innovative and open-source visualization application that transforms various data formats, such as JSON, YAML, XML and CSV into interactive graphs.
style button
AykutSaracb349207d3575
diff --git a/src/components/Button/index.tsx b/src/components/Button/index.tsxindex a90d8ac2..d2c7af62 100644--- a/src/components/Button/index.tsx+++ b/src/components/Button/index.tsx@@ -18,14 +18,21 @@ function getButtonStatus(status: keyof typeof ButtonType, theme: DefaultTheme) {}const StyledButton = styled.button<{ status: keyof typeof ButtonType }>`+ display: block;background: ${({ status, theme }) => getButtonStatus(status, theme)};color: ${({ theme }) => theme.FULL_WHITE};cursor: pointer;`;-const StyledButtonContent = styled.div``;+const StyledButtonContent = styled.div`+ padding: 8px;+`;-export const Button: React.FC<ButtonProps> = ({ children, status, ...props }) => {+export const Button: React.FC<ButtonProps> = ({+ children,+ status,+ ...props+}) => {return (<StyledButton type="button" status={status ?? "DEFAULT"} {...props}><StyledButtonContent>{children}</StyledButtonContent>