Skip to content

Commit

Permalink
refactor(elements): rename utils to styles in Button
Browse files Browse the repository at this point in the history
  • Loading branch information
ivangabriele committed Sep 9, 2024
1 parent e9ccb89 commit fceb4f0
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/elements/Button/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import classnames from 'classnames'
import { useCallback, useMemo, type MouseEvent, type ButtonHTMLAttributes, type FunctionComponent } from 'react'
import styled from 'styled-components'

import { getPrimaryButtonCss, getSecondaryButtonCss } from './utils'
import { getPrimaryButtonCss, getSecondaryButtonCss } from './styles'
import { Accent, Size } from '../../constants'
import { type IconProps } from '../../types/definitions'
import { stopMouseEventPropagation } from '../../utils/stopMouseEventPropagation'
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/elements/IconButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import classnames from 'classnames'
import { useMemo, type MouseEvent, type ButtonHTMLAttributes, type FunctionComponent, useCallback } from 'react'
import styled from 'styled-components'

import { getPrimaryButtonCss, getSecondaryButtonCss } from './Button/utils'
import { getPrimaryButtonCss, getSecondaryButtonCss } from './Button/styles'
import { Accent, Size } from '../constants'
import { type IconProps } from '../types/definitions'
import { stopMouseEventPropagation } from '../utils/stopMouseEventPropagation'
Expand Down

0 comments on commit fceb4f0

Please sign in to comment.