base webhooks page was created
This commit is contained in:
parent
742f0a26c2
commit
6b403d8a4e
@ -0,0 +1,35 @@
|
||||
import Button from '@docspace/components/button';
|
||||
import React, { useState } from 'react';
|
||||
import ColorSchemeDialog from './sub-components/colorSchemeDialog';
|
||||
import { Info } from './sub-components/Info';
|
||||
import { WebhooksList } from './sub-components/WebhooksList';
|
||||
|
||||
const Webhooks = () => {
|
||||
const [showColorSchemeDialog, setShowColorSchemeDialog] = useState(true);
|
||||
const onClickColor = () => {};
|
||||
const onCloseColorSchemeDialog = () => {
|
||||
setShowColorSchemeDialog(false);
|
||||
};
|
||||
return (
|
||||
<div>
|
||||
<Info />
|
||||
<Button
|
||||
label="Create webhook"
|
||||
primary
|
||||
size="small"
|
||||
onClick={() => setShowColorSchemeDialog(true)}
|
||||
/>
|
||||
<WebhooksList />
|
||||
<ColorSchemeDialog
|
||||
onClickColor={onClickColor}
|
||||
currentColorAccent={null}
|
||||
currentColorButtons={null}
|
||||
visible={showColorSchemeDialog}
|
||||
onClose={onCloseColorSchemeDialog}
|
||||
viewMobile={false}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default Webhooks;
|
Loading…
Reference in New Issue
Block a user