UNPKG

bobs-layout

Version:

bob's layout library. supports Container, Flex, Grid

18 lines (17 loc) 625 B
import { PropsWithChildren } from 'react'; type ParallaxProps = { image?: string; height?: React.CSSProperties['height']; css?: React.CSSProperties; }; declare const Parallax: { ({ image, height, css, children }: PropsWithChildren<ParallaxProps>): import("react/jsx-runtime").JSX.Element; Item: ({ speed, image, inset, css, children }: PropsWithChildren<ParallaxItemProps>) => import("react/jsx-runtime").JSX.Element; }; type ParallaxItemProps = { speed: number; image?: string; inset?: React.CSSProperties['inset']; css?: React.CSSProperties; }; export default Parallax;