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