mirror of
https://github.com/hanzoai/sentinel.git
synced 2026-09-29 22:34:33 +00:00
22 lines
482 B
TypeScript
22 lines
482 B
TypeScript
import styled from '@emotion/styled';
|
|
|
|
import type {AlertProps} from 'sentry/components/alert';
|
|
import {Alert} from 'sentry/components/alert';
|
|
|
|
// Margin bottom should probably be a different prop
|
|
const PanelAlert = styled(({...props}: AlertProps) => (
|
|
<Alert {...props} showIcon system />
|
|
))`
|
|
margin: 0 0 1px 0;
|
|
border-radius: 0;
|
|
box-shadow: none;
|
|
|
|
&:last-child {
|
|
border-bottom: none;
|
|
margin: 0;
|
|
border-radius: 0 0 4px 4px;
|
|
}
|
|
`;
|
|
|
|
export default PanelAlert;
|