Which answer best describes a function component?
A function component is required to create a React component.
A function component is the only way to create a component.
A function component accepts a single props object and returns a React element.
A function component is the same as a class component.