Skip to content

Commit

Permalink
Merge pull request #86 from siddarthpai/movefile
Browse files Browse the repository at this point in the history
Refactor: Move spacingModifier file complete
  • Loading branch information
vczb authored Jun 25, 2023
2 parents 88f7172 + 5c7f81f commit 0037f0b
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/packages/Box/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { BaseHTMLAttributes } from 'react'
import * as S from './styles'
import { SpacingKeys } from '../../utils/spacingModifier'
import { SpacingKeys } from '../../styles/spacingModifier'

export type BoxProps = {
children?: React.ReactNode | React.ReactNode[] | string | number
Expand Down
2 changes: 1 addition & 1 deletion src/packages/Box/styles.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import styled, { DefaultTheme, css } from 'styled-components'
import { BoxProps } from '.'
import { spacingModifier } from '../../utils/spacingModifier'
import { spacingModifier } from '../../styles/spacingModifier'

const flexModifier = {
row: () => css`
Expand Down
2 changes: 1 addition & 1 deletion src/packages/Breadcrumb/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react'
import NavLink, { NavLinkProps } from '../NavLink'
import { SpacingKeys } from '../../utils/spacingModifier'
import { SpacingKeys } from '../../styles/spacingModifier'
import * as S from './styles'

type BreadcrumbItem = {
Expand Down
2 changes: 1 addition & 1 deletion src/packages/Button/styles.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import styled, { css, DefaultTheme } from 'styled-components'
import { ButtonProps } from '.'
import { spacingModifier } from '../../utils/spacingModifier'
import { spacingModifier } from '../../styles/spacingModifier'

const buttonVariants = {
primary: (theme: DefaultTheme) => css`
Expand Down
2 changes: 1 addition & 1 deletion src/packages/NavLink/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react'
import { AnchorHTMLAttributes } from 'react'
import { SpacingKeys } from '../../utils/spacingModifier'
import { SpacingKeys } from '../../styles/spacingModifier'
import * as S from './styles'

export type NavLinkProps = {
Expand Down
2 changes: 1 addition & 1 deletion src/packages/NavLink/styles.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import styled, { css } from 'styled-components'
import { NavLinkProps } from '.'
import { spacingModifier } from '../../utils/spacingModifier'
import { spacingModifier } from '../../styles/spacingModifier'

export const NavLink = styled.a<
Pick<NavLinkProps, 'active' | 'size' | 'padding' | 'disabled'>
Expand Down
File renamed without changes.

0 comments on commit 0037f0b

Please sign in to comment.