@navinc/base-react-components
Version:
Nav's Pattern Library
24 lines (23 loc) • 847 B
TypeScript
export function transformHTML(content?: string): import("react").ReactNode;
export function Article({ author, dateGmt, content, modifiedGmt, excerpt, title, shouldStartOpen }: {
author: any;
dateGmt: any;
content: any;
modifiedGmt: any;
excerpt: any;
title: any;
shouldStartOpen: any;
}): false | JSX.Element;
export namespace Article {
namespace propTypes {
const author: PropTypes.Requireable<object>;
const dateGmt: PropTypes.Requireable<string>;
const content: PropTypes.Requireable<string>;
const modifiedGmt: PropTypes.Requireable<string>;
const excerpt: PropTypes.Requireable<string>;
const title: PropTypes.Requireable<string>;
const shouldStartOpen: PropTypes.Requireable<boolean>;
}
}
export default Article;
import PropTypes from "prop-types";