What means ...props? the code is:
export default class NavItem extends React.Component {
constructor() {
super();
}
render() {
const { router, index, to, children, ...props } = this.props;
let isActive = false;
if (router.isActive('./', true) && index) {
isActive = true
children
I suppose that is the children of the actual element, but ...props
what does it mean?
Thank you.