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

Surface forwards the fill prop to the DOM #4

Open
rootulp opened this issue Aug 11, 2021 · 0 comments
Open

Surface forwards the fill prop to the DOM #4

rootulp opened this issue Aug 11, 2021 · 0 comments

Comments

@rootulp
Copy link

rootulp commented Aug 11, 2021

Screen Shot 2021-08-10 at 9 15 56 PM

I observe the above error in the console when using the <Surface fill={true}> component. I think we likely don't want to forward fill as a prop to the <div> in

const StyledSurface = styled.div<StyledSurfaceProps>`

rootulp added a commit to rootulp/index-ui that referenced this issue Aug 11, 2021
- Remove the `fill` prop from the `<Surface>` component because it
  causes errors of the form
  clintonbembryjr/react-neu#4
- The page looks identical without this prop
controtie pushed a commit to IndexCoop/index-ui that referenced this issue Aug 14, 2021
- Remove the `fill` prop from the `<Surface>` component because it
  causes errors of the form
  clintonbembryjr/react-neu#4
- The page looks identical without this prop
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

No branches or pull requests

1 participant