Skip to content

Commit

Permalink
chore: 兼容react18组件ts类型 (#1543)
Browse files Browse the repository at this point in the history
  • Loading branch information
shinken008 authored Sep 28, 2022
1 parent 926341b commit 35d8427
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/taro-ui/types/base.d.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import { CSSProperties } from 'react'
import React, { CSSProperties } from 'react'

export interface AtComponent {
className?: string
style?: CSSProperties
customStyle?: string | CSSProperties
children?: React.ReactNode
}

export interface AtIconBaseProps2 extends AtComponent {
Expand Down

0 comments on commit 35d8427

Please sign in to comment.