Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
color: #f66;
border: 4px solid #900;
}
&:focus {
outline: 0;
color: red;
box-shadow: none;
border: 4px solid red;
}
`
// Rebass default re-exports.
// List created with:
// console.log(Object.keys(R).sort().map((k) => `export const ${k} = R.${k}`).join('\n'))
export const Absolute = R.Absolute
export const Arrow = R.Arrow
export const Avatar = R.Avatar
export const BackgroundImage = R.BackgroundImage
export const Badge = R.Badge
export const Banner = R.Banner
export const Base = R.Base
export const BlockLink = R.BlockLink
export const Blockquote = R.Blockquote
export const Border = R.Border
export const Box = R.Box
// export const Button = R.Button
export const ButtonCircle = R.ButtonCircle
export const ButtonOutline = R.ButtonOutline
export const ButtonTransparent = R.ButtonTransparent
export const CSS = R.CSS
export const Caps = R.Caps
border: 4px solid #900;
}
&:focus {
outline: 0;
color: red;
box-shadow: none;
border: 4px solid red;
}
`
// Rebass default re-exports.
// List created with:
// console.log(Object.keys(R).sort().map((k) => `export const ${k} = R.${k}`).join('\n'))
export const Absolute = R.Absolute
export const Arrow = R.Arrow
export const Avatar = R.Avatar
export const BackgroundImage = R.BackgroundImage
export const Badge = R.Badge
export const Banner = R.Banner
export const Base = R.Base
export const BlockLink = R.BlockLink
export const Blockquote = R.Blockquote
export const Border = R.Border
export const Box = R.Box
// export const Button = R.Button
export const ButtonCircle = R.ButtonCircle
export const ButtonOutline = R.ButtonOutline
export const ButtonTransparent = R.ButtonTransparent
export const CSS = R.CSS
export const Caps = R.Caps
export const Card = R.Card
}
&:focus {
outline: 0;
color: red;
box-shadow: none;
border: 4px solid red;
}
`
// Rebass default re-exports.
// List created with:
// console.log(Object.keys(R).sort().map((k) => `export const ${k} = R.${k}`).join('\n'))
export const Absolute = R.Absolute
export const Arrow = R.Arrow
export const Avatar = R.Avatar
export const BackgroundImage = R.BackgroundImage
export const Badge = R.Badge
export const Banner = R.Banner
export const Base = R.Base
export const BlockLink = R.BlockLink
export const Blockquote = R.Blockquote
export const Border = R.Border
export const Box = R.Box
// export const Button = R.Button
export const ButtonCircle = R.ButtonCircle
export const ButtonOutline = R.ButtonOutline
export const ButtonTransparent = R.ButtonTransparent
export const CSS = R.CSS
export const Caps = R.Caps
export const Card = R.Card
export const Carousel = R.Carousel
&:focus {
outline: 0;
color: red;
box-shadow: none;
border: 4px solid red;
}
`
// Rebass default re-exports.
// List created with:
// console.log(Object.keys(R).sort().map((k) => `export const ${k} = R.${k}`).join('\n'))
export const Absolute = R.Absolute
export const Arrow = R.Arrow
export const Avatar = R.Avatar
export const BackgroundImage = R.BackgroundImage
export const Badge = R.Badge
export const Banner = R.Banner
export const Base = R.Base
export const BlockLink = R.BlockLink
export const Blockquote = R.Blockquote
export const Border = R.Border
export const Box = R.Box
// export const Button = R.Button
export const ButtonCircle = R.ButtonCircle
export const ButtonOutline = R.ButtonOutline
export const ButtonTransparent = R.ButtonTransparent
export const CSS = R.CSS
export const Caps = R.Caps
export const Card = R.Card
export const Carousel = R.Carousel
export const Checkbox = R.Checkbox
outline: 0;
color: red;
box-shadow: none;
border: 4px solid red;
}
`
// Rebass default re-exports.
// List created with:
// console.log(Object.keys(R).sort().map((k) => `export const ${k} = R.${k}`).join('\n'))
export const Absolute = R.Absolute
export const Arrow = R.Arrow
export const Avatar = R.Avatar
export const BackgroundImage = R.BackgroundImage
export const Badge = R.Badge
export const Banner = R.Banner
export const Base = R.Base
export const BlockLink = R.BlockLink
export const Blockquote = R.Blockquote
export const Border = R.Border
export const Box = R.Box
// export const Button = R.Button
export const ButtonCircle = R.ButtonCircle
export const ButtonOutline = R.ButtonOutline
export const ButtonTransparent = R.ButtonTransparent
export const CSS = R.CSS
export const Caps = R.Caps
export const Card = R.Card
export const Carousel = R.Carousel
export const Checkbox = R.Checkbox
export const Circle = R.Circle
color: red;
box-shadow: none;
border: 4px solid red;
}
`
// Rebass default re-exports.
// List created with:
// console.log(Object.keys(R).sort().map((k) => `export const ${k} = R.${k}`).join('\n'))
export const Absolute = R.Absolute
export const Arrow = R.Arrow
export const Avatar = R.Avatar
export const BackgroundImage = R.BackgroundImage
export const Badge = R.Badge
export const Banner = R.Banner
export const Base = R.Base
export const BlockLink = R.BlockLink
export const Blockquote = R.Blockquote
export const Border = R.Border
export const Box = R.Box
// export const Button = R.Button
export const ButtonCircle = R.ButtonCircle
export const ButtonOutline = R.ButtonOutline
export const ButtonTransparent = R.ButtonTransparent
export const CSS = R.CSS
export const Caps = R.Caps
export const Card = R.Card
export const Carousel = R.Carousel
export const Checkbox = R.Checkbox
export const Circle = R.Circle
export const Close = R.Close
const A = styled(props =>
)`
display: block;
transition: color .1s ease-out;
&:hover {
color: magenta;
}
`
Box.x = Box.extend`
@media screen and (max-width: 48em) {
display: none;
}
`
const quarter = Math.ceil(components.length / 4)
const comps = {}
comps.a = components.slice(0, quarter)
comps.b = components.slice(quarter, quarter * 2)
comps.c = components.slice(quarter * 2, quarter * 3)
comps.d = components.slice(quarter * 3)
class Menu extends React.Component {
constructor () {
super()
this.state = {