JavaScript React Components React Component Patterns React Component Patterns Review

1 Answer

KRIS NIKOLAISEN
PRO
KRIS NIKOLAISEN
Pro Student 49,589 Points

Are you talking about this question?

const Shelf = () => {
  return <Book title="TL;DR" author="Jay McQuery" year={2013} />;
}
// Book component
const Book = ({ , ,  }) => {
  return (
    <div>
      <h1>Title: {  }</h1>
      <p>Author: {   }</p>
      <p>Published: {  }</p>
    </div>
  );
}

If so can you provide your complete answers? I entered title and it worked.