@selfcommunity/react-ui
Version: 
React UI Components to integrate a Community created with SelfCommunity Platform.
25 lines (24 loc) • 512 B
TypeScript
import { EndpointType } from '@selfcommunity/api-services';
export interface MarkReadProps {
    /**
     * Endpoint to mark read
     */
    endpoint: EndpointType;
    /**
     * Params to insert into the url
     * @default object
     */
    params?: any;
    /**
     * Data to post to the endpoint
     * @default null
     */
    data?: any;
    /**
     * Callback
     * @default null
     */
    callback?: any;
}
declare const _default: (props: MarkReadProps) => JSX.Element;
export default _default;