feat: add audit logging via webhook (#309)

* feat: add audit logging via webhook

* addd missing auditLogWebhook values in various places
This commit is contained in:
41666 2021-07-13 23:01:25 -04:00 committed by GitHub
parent 5671a408c1
commit acc604f83f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 488 additions and 22 deletions

View file

@ -1,14 +1,22 @@
import * as React from 'react';
import { Space as SpaceComponent } from './Space';
import { LinedSpace, Space } from './Space';
export default {
title: 'Atoms',
title: 'Atoms/Space',
};
export const Space = () => (
export const space = () => (
<>
hello world
<SpaceComponent />
<Space />
but im over here
</>
);
export const linedSpace = () => (
<>
hello world
<LinedSpace />
but im over here
</>
);

View file

@ -1,5 +1,17 @@
import styled from 'styled-components';
import { palette } from '@roleypoly/design-system/atoms/colors';
import styled, { css } from 'styled-components';
export const Space = styled.div`
height: 15px;
`;
export const LinedSpace = styled.div<{ width?: number }>`
height: 7.5px;
margin-top: 7.5px;
border-top: 1px solid ${palette.taupe300};
${(props) =>
props.width &&
css`
width: ${props.width}px;
`}
`;