We can pass any valid JavaScript expression as a prop.
In the below example, the BatteryStatus component has a prop isLow, which expects a boolean value. From the App component, we have passed a boolean expression currentPercentage < minimum to this prop.