UNPKG

@gpa-gemstone/common-pages

Version:
21 lines (20 loc) 729 B
import * as React from 'react'; import { OpenXDA } from '@gpa-gemstone/application-typings'; import { IGenericSlice } from './SliceInterfaces'; interface IProps { NoteTypes: OpenXDA.Types.NoteType[]; NoteTags: OpenXDA.Types.NoteTag[]; NoteApplications: OpenXDA.Types.NoteApplication[]; MaxHeight: number; Title?: string; ReferenceTableID?: number; NoteSlice: IGenericSlice<OpenXDA.Types.Note>; AllowEdit?: boolean; AllowRemove?: boolean; AllowAdd?: boolean; ShowCard?: boolean; DefaultApplication?: OpenXDA.Types.NoteApplication; Filter?: (note: OpenXDA.Types.Note) => boolean; } declare function Note(props: React.PropsWithChildren<IProps>): JSX.Element; export default Note;