Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Top level props need to be available to render function #60

Closed
hsspain opened this issue Sep 10, 2021 · 0 comments · Fixed by #62
Closed

Top level props need to be available to render function #60

hsspain opened this issue Sep 10, 2021 · 0 comments · Fixed by #62
Assignees

Comments

@hsspain
Copy link

hsspain commented Sep 10, 2021

export type ListingCardProps = {
  title: String
} & {
  overrides?: EscapeHatchProps | undefined | null
};
export default function ListingCard(props: ListingCardProps): JSX.Element {
  return (
    <Flex

Should be

export type ListingCardProps = {
  title?: String
} & {
  overrides?: EscapeHatchProps | undefined | null
};
export default function ListingCard(props: ListingCardProps): JSX.Element {
  const { tiitle } = props;

  return (
    <Flex
@frimfram frimfram self-assigned this Sep 10, 2021
@frimfram frimfram linked a pull request Sep 10, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants