I want to add a class from another file as a prop, but I am not able to do it.
file 1
import React from 'react'
const Button = (props) => {
return (
<div>
<button class={"btn btn-primary" props.classes } type="submit" >{props.name}</button>
</div>
)
}
export default Button
file 2:
<Button name="Sign Up" classes="me-sm-0"></Button>