UNPKG

@amsterdam/design-system-react

Version:

All React components from the Amsterdam Design System. Use it to compose pages in your website or application.

15 lines (14 loc) 521 B
import { jsx as _jsx } from "react/jsx-runtime"; /** * @license EUPL-1.2+ * Copyright Gemeente Amsterdam */ /** * @license EUPL-1.2 * Copyright (c) 2022 Robbert Broersma * Copyright Gemeente Amsterdam */ import clsx from 'clsx'; import { forwardRef } from 'react'; export const TableCaption = forwardRef(({ children, className, ...restProps }, ref) => (_jsx("caption", { ...restProps, className: clsx('ams-table__caption', className), ref: ref, children: children }))); TableCaption.displayName = 'Table.Caption';