I have a child component like so: 

```
export const child= (iconPath?: string) => { /* return and all that good stuff here */ }

```

When rendering my component like so: 

```
export const parent= () => { 
 return (
  <div>
   <child>
  </div>
 )
}

```

Im getting : 

> 
> Type '{}' is not assignable to type 'string'.
> 
> 
> 

What am I dooing wrong here?