UNPKG

synapse-react-client

Version:

[![npm version](https://badge.fury.io/js/synapse-react-client.svg)](https://badge.fury.io/js/synapse-react-client) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettie

30 lines 851 B
import { Component } from 'react'; type RssState = { rssFeed: any; isLoadingError: boolean; isShowingSubscribeUI: boolean; allItemsUrl?: string; }; export type RssFilter = { type?: 'tag' | 'category'; value: string; }; export type RssFeedCardsProps = { url: string; filter?: RssFilter; itemsToShow: number; allowCategories?: string[]; mailChimpListName?: string; mailChimpUrl?: string; viewAllNewsButtonText?: string; }; export declare class RssFeedCards extends Component<RssFeedCardsProps, RssState> { _isMounted: boolean; constructor(props: RssFeedCardsProps); componentDidMount(): void; componentWillUnmount(): void; onClickSubscribe: () => void; render(): import("react/jsx-runtime").JSX.Element; } export default RssFeedCards; //# sourceMappingURL=RssFeedCards.d.ts.map