/// /** * Like its name, the Block component is a base Lego block to build whole layouts. It accepts common layout CSS properties and could be added with media query using override. A responsive grid layout could be made with Block components like the below example. (Resize browser to view.) * *```tsx * import * as React from "react" * import * as System from "@harborschool/lighthouse" * import { useTheme } from "@harborschool/lighthouse" * * export default () => { * const theme = useTheme() * return ( * * * Account * * * John Doe * * * * * * * Become a member * * {" "} * to get access of all contents * * * * ) * } * ``` * @param as - React.ElementType * @param display - React.ElementType * @param color - string | Array\ * @param backgroundColor - string | Array\ * @param font - string | Array\ * @param width - 0 | string | Array\ * @param height - 0 | string | Array\ * @param paddingTop - 0 | string | Array\ * @param paddingRight - 0 | string | Array\ * @param paddingBottom - 0 | string | Array\ * @param paddingLeft - 0 | string | Array\ * @param marginTop - 0 | string | Array\ * @param marginRight - 0 | string | Array\ * @param marginBottom - 0 | string | Array\ * @param marginLeft - 0 | string | Array\ * @param overrides - \{ Block?: StyletronReact.StyleObject } */ export declare const Block: React.FC; export * from "./types"; import { BlockPropsT } from "./types";