UNPKG

@navinc/base-react-components

Version:
18 lines (17 loc) 581 B
import PropTypes from 'prop-types'; import { ReactNode } from 'react'; import { ThemeColor } from './theme.js'; declare type BlockQuoteProps = { children?: ReactNode; color?: ThemeColor; }; declare const BlockQuote: { ({ children, color }: BlockQuoteProps): JSX.Element; propTypes: { /** It changes the color of the line to the left of the quote, must be defined in the theme (ex: navBlue) */ color: PropTypes.Requireable<string>; /** The actual quote */ children: PropTypes.Requireable<string>; }; }; export default BlockQuote;