i want to use ternary operator for conditional rendering of jsx using react and javascript.
below is my code,
const Parent = () => { return (