Skip to content

Commit

Permalink
[#9] component props에 css prop 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
03hoho03 committed May 11, 2024
1 parent 67d8ddd commit eb395fb
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/types/styled.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
import { Theme } from '@/styles/theme'
import 'styled-components'
import type { CSSProp } from 'styled-components'

declare module 'react' {
interface Attributes {
css?: CSSProp
}
}
declare module 'styled-components' {
export interface DefaultTheme extends Theme {}
}

0 comments on commit eb395fb

Please sign in to comment.