botframework-webchat-component
Version:
React component of botframework-webchat
33 lines • 937 B
TypeScript
import { StrictStyleOptions } from 'botframework-webchat-api';
export default function createErrorBoxStyle({ monospaceFont, primaryFont }: StrictStyleOptions): {
display: string;
flexDirection: string;
fontFamily: string;
margin: number;
minHeight: number;
maxHeight: number;
overflowY: string;
WebkitOverflowScrolling: string;
'& > :first-child': {
backgroundColor: string;
color: string;
padding: string;
};
'& > :last-child': {
borderColor: string;
borderStyle: string;
borderBottomWidth: number;
borderLeftWidth: number;
borderRightWidth: number;
borderTopWidth: number;
margin: number;
overflowY: string;
padding: number;
'& > pre': {
fontFamily: string;
fontSize: string;
margin: number;
};
};
};
//# sourceMappingURL=ErrorBox.d.ts.map