{attachment.contentType === kMissingContentType ? icons.warning() : icons.attachment()}
{attachment.path && {linkName || attachment.name}}
{!attachment.path && (
openInNewTab
? e.stopPropagation()}>{attachment.name}
: {linkifyText(attachment.name)}
)}
} loadChildren={attachment.body ? () => {
return [{linkifyText(attachment.body!)}
];
} : undefined} depth={0} style={{ lineHeight: '32px' }} flash={flash}>;
};
export const SearchParamsContext = React.createContext