mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-06-15 17:19:10 +00:00
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:
parent
5671a408c1
commit
acc604f83f
16 changed files with 488 additions and 22 deletions
|
@ -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
|
||||
</>
|
||||
);
|
||||
|
|
|
@ -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;
|
||||
`}
|
||||
`;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue