I have been using React for an year now. I have experienced sending below few types of props from one component to the other.
I have component A & B. Here component A is a parent of B. I send some props from A to B like string, number, Boolean, array, object and function.
Component A:
class A extends Component {
render(){
return(
<div>
<B string="String Prop" number={123} Boolean={true} array=[] Object={} function={this.function} />
</div>
);
}
}
My query is, is there any other types of properties can be send to a component apart from what I have mentioned?