UNPKG

jobiqo-cl

Version:

[![CircleCI](https://circleci.com/gh/jobiqo/jobiqo-cl.svg?style=svg&circle-token=5a24efa5b8bbc4879276123e77d0d3f35ca7144c)](https://circleci.com/gh/jobiqo/jobiqo-cl)

28 lines (27 loc) 854 B
/** * @file index.tsx * * @fileoverview Renders multiple columns. Receives an array ReactNodes * and displays them in a grid. */ import React from 'react'; export interface MultiColumnProps { /** * The intro title for the row, shows above the icons. */ introTitle?: React.ReactNode | string; /** * The intro text for the row, shows above the icons. */ introText?: React.ReactNode | string; /** * The list of children that will be displayed as grid. */ items: React.ReactNode[]; } /** * Presents information to a user in a multicolumn way. Useful * to show information side by side. Its responsive so no matter how many items * are inside it will show as many as possible side by side. */ export declare const MultiColumn: ({ introTitle, introText, items }: MultiColumnProps) => JSX.Element;