- Button(props): ReactNode
Returns ReactNode
Properties
Readonly
$$typeof
$$typeof: symbol
Optional
defaultProps
defaultProps?: Partial<ButtonProps & RefAttributes<HTMLButtonElement>> Optional
displayName
displayName?: string
Optional
propTypes
propTypes?: WeakValidationMap<ButtonProps & RefAttributes<HTMLButtonElement>>
Used in debugging messages. You might want to set it explicitly if you want to display a different name for debugging purposes.