UNPKG

@vectara/vectara-ui

Version:

Vectara's design system, codified as a React and Sass component library

6 lines (5 loc) 331 B
import { jsx as _jsx } from "react/jsx-runtime"; import { VuiInfoListItem } from "./InfoListItem"; export const VuiInfoList = ({ info }) => { return (_jsx("div", Object.assign({ className: "vuiInfoList" }, { children: info.map((item, index) => (_jsx(VuiInfoListItem, { title: item.title, value: item.value }, index))) }))); };