Files
newsui/packages/components/src/index.ts
T

58 lines
2.4 KiB
TypeScript

import 'newspaperui-theme';
// layout
export { Layout, useLayout } from './layout/Layout';
export type { LayoutProps } from './layout/Layout';
export { Section, useSection } from './layout/Section';
export type { SectionProps } from './layout/Section';
export { Article } from './layout/Article';
export type { ArticleProps } from './layout/Article';
export { Layer } from './layout/Layer';
export type { LayerProps } from './layout/Layer';
export { Masthead } from './layout/Masthead';
export type { MastheadProps } from './layout/Masthead';
export { Rule } from './layout/Rule';
export type { RuleProps } from './layout/Rule';
export { Footer } from './layout/Footer';
export type { FooterProps } from './layout/Footer';
export { Sidebar as NewsSidebar } from './layout/Sidebar';
export type { SidebarProps as NewsSidebarProps } from './layout/Sidebar';
export { BreakingNewsBanner } from './layout/BreakingNewsBanner';
export type { BreakingNewsBannerProps } from './layout/BreakingNewsBanner';
// text
export { Headline } from './text/Headline';
export type { HeadlineProps } from './text/Headline';
export { Subhead } from './text/Subhead';
export type { SubheadProps } from './text/Subhead';
export { Kicker } from './text/Kicker';
export type { KickerProps } from './text/Kicker';
export { BodyText } from './text/BodyText';
export type { BodyTextProps } from './text/BodyText';
export { Quote } from './text/Quote';
export type { QuoteProps } from './text/Quote';
export { Byline } from './text/Byline';
export type { BylineProps } from './text/Byline';
export { Dateline } from './text/Dateline';
export type { DatelineProps } from './text/Dateline';
export { Caption } from './text/Caption';
export type { CaptionProps } from './text/Caption';
// media
export { Image } from './media/Image';
export type { ImageProps } from './media/Image';
export { Figure } from './media/Figure';
export type { FigureProps } from './media/Figure';
export { Video } from './media/Video';
export type { VideoProps } from './media/Video';
export { PullQuote } from './media/PullQuote';
export type { PullQuoteProps } from './media/PullQuote';
// additional layout
export { RelatedArticles } from './layout/RelatedArticles';
export type { RelatedArticlesProps, RelatedArticle } from './layout/RelatedArticles';
// additional text
export { AuthorCard } from './text/AuthorCard';
export type { AuthorCardProps } from './text/AuthorCard';