import React from 'react'
import { Dropdown, DropdownButton, MenuItem } from 'react-bootstrap'
import Icon from '../js/shared/components/icon'
const MenuItems = () => (
<>
>
)
const defaultArgs = {
bsStyle: 'default',
title: 'Dropdown',
pullRight: false,
noCaret: false,
className: '',
defaultOpen: true,
}
export const Default = args => {
return (
)
}
Default.args = { ...defaultArgs }
export const Primary = args => {
return (
)
}
Primary.args = { ...defaultArgs, bsStyle: 'primary' }
export const RightAligned = args => {
return (
)
}
RightAligned.args = { ...defaultArgs, pullRight: true }
export const SingleIconTransparent = args => {
return (
)
}
SingleIconTransparent.args = {
...defaultArgs,
pullRight: true,
title: ,
noCaret: true,
className: 'dropdown-toggle-no-background',
}
export const Customized = args => {
return (
{args.title}
)
}
Customized.args = {
...defaultArgs,
component: Dropdown,
title: 'Toggle & Menu used separately',
}
export default {
title: 'Dropdown',
component: DropdownButton,
}