rentalutions / elements

Design kit for Avail rental management software
https://design.avail.co
10 stars 3 forks source link

FullscreenFeedback renders behind bottomsheets and other fixed elements with specified zIndex #97

Open quaardvark opened 4 years ago

quaardvark commented 4 years ago

Prerequisites

Step to reproduce (actual behavior)

Expected behavior

FullscreenFeedback takes the styling props, either via Styled System or via styles

Resources

Screenshot_20200810_155037

pkrawc commented 4 years ago

I think adding @styled-system/props to the package and using it to pick the right props to pass to the component will likely be a good idea.

import { pick, omit } from "@styled-system/props"

// In fullscreen render

const styleProps = pick(spreadProps)