synapse-react-client
Version:
[](https://badge.fury.io/js/synapse-react-client) [](https://github.com/prettier/prettie
30 lines • 851 B
TypeScript
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