mirror of
https://github.com/vercel/commerce.git
synced 2025-07-06 05:01:20 +00:00
fix: change btn common children propstype to React.ReactNode
This commit is contained in:
parent
278a5034db
commit
d5a0c35ffc
@ -4,7 +4,7 @@ import { ButonType, ButtonSize } from 'src/utils/constanst.utils'
|
|||||||
import s from './ButtonCommon.module.scss'
|
import s from './ButtonCommon.module.scss'
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
children?: any,
|
children?: React.ReactNode,
|
||||||
type?: ButonType,
|
type?: ButonType,
|
||||||
size?: ButtonSize,
|
size?: ButtonSize,
|
||||||
icon?: any,
|
icon?: any,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user