52 lines
1.5 KiB
TypeScript
52 lines
1.5 KiB
TypeScript
|
|
/**
|
||
|
|
* @newspaperui/components
|
||
|
|
* React components for newspaperui
|
||
|
|
*/
|
||
|
|
|
||
|
|
// Layout components
|
||
|
|
export { Layout, useLayout } from './Layout/Layout';
|
||
|
|
export type { LayoutProps } from './Layout/Layout';
|
||
|
|
|
||
|
|
export { Section, useSection } from './Section/Section';
|
||
|
|
export type { SectionProps } from './Section/Section';
|
||
|
|
|
||
|
|
export { Article } from './Article/Article';
|
||
|
|
export type { ArticleProps } from './Article/Article';
|
||
|
|
|
||
|
|
export { Layer } from './Layer/Layer';
|
||
|
|
export type { LayerProps } from './Layer/Layer';
|
||
|
|
|
||
|
|
// Text components
|
||
|
|
export { Headline } from './Text/Headline';
|
||
|
|
export type { HeadlineProps } from './Text/Headline';
|
||
|
|
|
||
|
|
export { Subhead } from './Text/Subhead';
|
||
|
|
export type { SubheadProps } from './Text/Subhead';
|
||
|
|
|
||
|
|
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 { Caption } from './Text/Caption';
|
||
|
|
export type { CaptionProps } from './Text/Caption';
|
||
|
|
|
||
|
|
// Media components
|
||
|
|
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';
|
||
|
|
|
||
|
|
export const version = '0.0.0';
|