aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/@next/components/button.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'packages/website/ts/@next/components/button.tsx')
-rw-r--r--packages/website/ts/@next/components/button.tsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/website/ts/@next/components/button.tsx b/packages/website/ts/@next/components/button.tsx
index 4c646e199..fb7c913a5 100644
--- a/packages/website/ts/@next/components/button.tsx
+++ b/packages/website/ts/@next/components/button.tsx
@@ -2,6 +2,8 @@ import * as React from 'react';
import { Link as ReactRouterLink, NavLink as ReactRouterNavLink } from 'react-router-dom';
import styled from 'styled-components';
+import { ThemeInterface } from 'ts/@next/components/siteWrap';
+
import { colors } from 'ts/style/colors';
interface ButtonInterface {
@@ -19,9 +21,7 @@ interface ButtonInterface {
type?: string;
to?: string;
onClick?: () => any;
- theme?: {
- textColor: string;
- };
+ theme: ThemeInterface;
}
export const Button = (props: ButtonInterface) => {