jsonberry / hoc-compound-components-ts

wip

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HOC Compound Component with TS

Up & Running

yarn install
yarn start

Compiler Error

Failed to compile.

/src/index.tsx
Type error: Property 'Title' does not exist on type '(props: any) => Element'.  TS2339

     8 |     <div>
     9 |       <Card>
  > 10 |         <Card.Title>hello world</Card.Title>
       |               ^
    11 |       </Card>
    12 |     </div>
    13 |   );

About

wip


Languages

Language:HTML 57.4%Language:TypeScript 42.6%