@sms-frontend/components
Version:
SMS Design React UI Library.
16 lines (15 loc) • 392 B
TypeScript
import { Component } from 'react';
interface BaseNoticeState {
notices: {
[key: string]: any;
}[];
position?: string;
}
declare class BaseNotice extends Component<any, BaseNoticeState> {
constructor(props: any);
add: (noticeProps: any) => any;
update: (newNotice: any) => void;
remove(id: string): void;
clear: () => void;
}
export default BaseNotice;