Skip to content

Commit

Permalink
refactor(button): Use Canvas styled function so we can see static states
Browse files Browse the repository at this point in the history
  • Loading branch information
anicholls committed Feb 20, 2020
1 parent a8c4254 commit 7d0340b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion modules/button/react/lib/ButtonBase.tsx
@@ -1,5 +1,5 @@
import * as React from 'react';
import styled from '@emotion/styled';
import {styled} from '@workday/canvas-kit-labs-react-core';
import isPropValid from '@emotion/is-prop-valid';
import {
ButtonSize,
Expand Down
2 changes: 1 addition & 1 deletion modules/button/react/lib/DropdownButton.tsx
@@ -1,7 +1,7 @@
import * as React from 'react';
import {ButtonBaseLabel, ButtonLabelIcon} from './ButtonBase';
import {getButtonStyle, getButtonSize} from './utils';
import styled from '@emotion/styled';
import {styled} from '@workday/canvas-kit-labs-react-core';
import isPropValid from '@emotion/is-prop-valid';
import {BaseButtonProps} from './Button';
import {dropdownButtonStyles} from './ButtonStyles';
Expand Down
2 changes: 1 addition & 1 deletion modules/button/react/lib/TextButton.tsx
@@ -1,7 +1,7 @@
import * as React from 'react';
import {ButtonBaseLabel, ButtonLabelIcon} from './ButtonBase';
import {getButtonStyle} from './utils';
import styled from '@emotion/styled';
import {styled} from '@workday/canvas-kit-labs-react-core';
import isPropValid from '@emotion/is-prop-valid';
import {ButtonSize, IconPosition, TextButtonVariant} from './types';
import {BaseButtonProps} from './Button';
Expand Down

0 comments on commit 7d0340b

Please sign in to comment.