React, Calling a function from another component
03:55 13 Jul 2022

As stated in the question I want to call a function declared in another component. Here's some example data,

function BookingTable() {
const renderTableData = (startId) => {
    let id = startId;
    }
}

export default BookingTable;

How do i access the renderTableData from another component?

reactjs