signal-desktop/sticker-creator/elements/DropZone.stories.tsx

20 lines
438 B
TypeScript
Raw Normal View History

2020-10-30 20:34:04 +00:00
// Copyright 2019-2020 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
2019-12-17 20:25:57 +00:00
import * as React from 'react';
import { action } from '@storybook/addon-actions';
import { DropZone } from './DropZone';
2022-06-07 00:48:02 +00:00
export default {
title: 'Sticker Creator/elements',
};
export const _DropZone = (): JSX.Element => {
return <DropZone label="This is the label" onDrop={action('onDrop')} />;
2022-06-07 00:48:02 +00:00
};
_DropZone.story = {
name: 'DropZone',
};