UNPKG

react-and

Version:

A lightweight React component for joining multiple components in a grammatically correct way.

9 lines (8 loc) 270 B
import React, { ReactNode } from 'react'; type ReactAndProps = { children?: React.ReactNode; conjuction?: string; oxfordComma?: boolean; }; declare const ReactAnd: ({ children, conjuction, oxfordComma }: ReactAndProps) => ReactNode; export default ReactAnd;