import { Meta, StoryObj } from '@storybook/nextjs-vite'
import { SecureEmail } from './SecureEmail'

const meta: Meta<typeof SecureEmail> = {
  component: SecureEmail,
}

type Story = StoryObj<typeof SecureEmail>;
export default meta

export const Default: Story = {
  args: {
    user: btoa('pastoor'),
    domain: btoa('parochie.nl'),
  },
}

export const WithLabel: Story = {
  args: {
    ...Default.args,
    label: 'Send email'
  }
}