Breakpoints
import { breakpoint } from '@sky-uk/ui-core';breakpoint('md');// returns '640px'
You can return the breakpoint without a px
suffix by passing false
as a second argument. This is useful if you need to use the raw number for calculations.
breakpoint('md', false);// returns 640
Available Breakpoints
xs
=0
sm
=480
md
=640
lg
=800
xl
=960
xxl
=1248