Skip to content

Instantly share code, notes, and snippets.

@lanekatris
Created September 25, 2019 13:55
Show Gist options
  • Save lanekatris/0545a2411536aebb334c2ec5d3f31b34 to your computer and use it in GitHub Desktop.
Save lanekatris/0545a2411536aebb334c2ec5d3f31b34 to your computer and use it in GitHub Desktop.
<Segment.Group>
<Responsive as={Segment} {...Responsive.onlyMobile}>
Mobile
</Responsive>
<Responsive as={Segment} {...Responsive.onlyTablet}>
Tablet
</Responsive>
<Responsive as={Segment} {...Responsive.onlyComputer}>
Computer
</Responsive>
<Responsive as={Segment} {...Responsive.onlyLargeScreen}>
Large Screen
</Responsive>
<Responsive as={Segment} {...Responsive.onlyWidescreen}>
Widescreen
</Responsive>
</Segment.Group>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment