Skip to content

Instantly share code, notes, and snippets.

@nathanyoung
Created August 22, 2019 22:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nathanyoung/6006d8bd767ff5b65a515978895e712a to your computer and use it in GitHub Desktop.
Save nathanyoung/6006d8bd767ff5b65a515978895e712a to your computer and use it in GitHub Desktop.
<Block
className={className}
border={{ side: 'all', width: '4px', color: 'red-light' }}
background="red-lighter"
direction="column"
itemSpacing="5"
padding="5"
radius={!isMobile ? 3 : null}
>
<Heading element="4">Danger Zone</Heading>
<Block alignItems="center" itemSpacing="5" color="neutral-700">
<p>Deleting a channel can not be undone. Please be certain.</p>
<Button danger onClick={() => setShowModal(true)}>
Delete Channel
</Button>
</Block>
</Block>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment