Sometimes, a component is dynamic and there are two ways props and state . A component’s state is not passed in from…
props
state