Skip to content

It feels like this is missing the ability to specific an exact media query for sizes #20

@iDVB

Description

@iDVB
 <Picture
  src={[
    require(`/assets/images/leaders/${imgSrc}?sizes=435`),
    require(`/assets/images/leaders/${imgSrc}?sizes=946`),
  ]}
  breakpoints={['(orientation: landscape)']}
/>

breakpoints only takes in a px value, but seems to be missing the ability to pass in the actual media query itself.

Should we put in a PR or is there a workaround?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions