jobiqo-cl
Version:
[](https://circleci.com/gh/jobiqo/jobiqo-cl)
28 lines (27 loc) • 854 B
TypeScript
/**
* @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;