import React from 'react';
import Container from '../../grid/container/container';
import Button, {
  BUTTON__TYPE_SUCCESS_OUTLINE,
  BUTTON_STYLES_ENUM,
} from '../../general/button/button';
import Alert from './alert';
import { text } from '@storybook/addon-knobs';
import { Modal } from 'antd';

export const AlertStory = () => {
  return (
    <Container>
      <Button label="Open" type={BUTTON__TYPE_SUCCESS_OUTLINE}
              callback={() => Alert({
                title: text('title', 'Внимание'),
                text: text('text', 'some text'),
                comment: text('comment', 'a lot of text here...'),
                okText: text('okText', 'ok'),
                cancelText: text('cancelText', 'cancel'),
              })} />
    </Container>
  )
}
