UNPKG

@vectara/vectara-ui

Version:

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

5 lines (4 loc) 482 B
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime"; export const VuiInfoList = ({ info }) => { return (_jsx(_Fragment, { children: info.map((item, index) => (_jsxs("div", Object.assign({ className: "vuiInfoListItem" }, { children: [_jsx("div", Object.assign({ className: "vuiInfoListItem__title" }, { children: item.title })), _jsx("div", Object.assign({ className: "vuiInfoListItem__value" }, { children: item.value }))] }), index))) })); };