Skip to content

Commit

Permalink
Pass props to Avatar, Title and Body components
Browse files Browse the repository at this point in the history
  • Loading branch information
Lsimmons98 committed Dec 6, 2024
1 parent a79fa7e commit 544ec1d
Showing 1 changed file with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,18 @@ const TypeaheadWithHighlight = (props) => {
marginRight="sm"
name={name}
size="sm"
{...props}
/>
</FlexItem>
<FlexItem>
<Title size={4}><span dangerouslySetInnerHTML={{ __html: highlighted(name) }} /></Title>
<Body color="light">
<Title
size={4}
{...props}
>
<span dangerouslySetInnerHTML={{ __html: highlighted(name) }} /></Title>
<Body color="light"
{...props}
>
<span dangerouslySetInnerHTML={{ __html: highlighted(title) }} />{" • "}
{territory}
</Body>
Expand Down

0 comments on commit 544ec1d

Please sign in to comment.