@cbinsights/fds
Version:
Form: A design system by CB Insights
14 lines (13 loc) • 493 B
TypeScript
import React from 'react';
export interface SeparatorListProps {
/** Components (or strings) to render in the list */
items: Array<React.ReactElement | string>;
/** Optional character to render between items. Useful for breadcrumbs and other separated lists */
separator?: string;
}
/**
* @param {Object} props react props
* @returns {ReactElement}
*/
declare const InlineBlockList: ({ items, separator }: SeparatorListProps) => JSX.Element;
export default InlineBlockList;