import * as React from "react"; import { Flex, Box, Text } from "rimble-ui"; import { SchemaDataResponse, SchemaDataInput } from "./types"; import { H4 } from "../../layouts/LayoutComponents"; import { fonts } from "../../../themes"; export interface SchemaHeaderProps { schema: SchemaDataResponse | SchemaDataInput; style?: any; className?: string; rimbleProps?: { [prop: string]: any }; } export const SchemaHeader: React.FunctionComponent = (props) => { const { schema, style, className, rimbleProps } = props; return ( {schema.icon}

{schema.name}

{schema.slug}
); };