diff --git a/apps/storybook-react/stories/Popover.stories.jsx b/apps/storybook-react/stories/Popover.stories.tsx
similarity index 75%
rename from apps/storybook-react/stories/Popover.stories.jsx
rename to apps/storybook-react/stories/Popover.stories.tsx
index 7462b28f4f..0ec12fe2a8 100644
--- a/apps/storybook-react/stories/Popover.stories.jsx
+++ b/apps/storybook-react/stories/Popover.stories.tsx
@@ -1,18 +1,13 @@
import React from 'react'
-import { withKnobs, select, text } from '@storybook/addon-knobs'
import styled from 'styled-components'
import {
Typography,
Button,
- Avatar,
- Chip,
- TextField,
- Search,
- Icon,
Popover,
+ PopoverProps,
Card,
} from '@equinor/eds-core-react'
-import catImg from '../images/cat.jpg'
+import { Meta, Story } from '@storybook/react'
const { PopoverAnchor, PopoverTitle, PopoverContent } = Popover
const { CardActions } = Card
@@ -36,18 +31,70 @@ const TextWrapper = styled.div`
export default {
title: 'Components/Popover',
component: Popover,
- decorators: [withKnobs],
+ subcomponents: {
+ PopoverAnchor,
+ PopoverTitle,
+ PopoverContent,
+ CardActions,
+ },
+ argTypes: {
+ placement: {
+ control: {
+ type: 'select',
+ options: [
+ 'topLeft',
+ 'top',
+ 'topRight',
+ 'rightTop',
+ 'right',
+ 'rightBottom',
+ 'bottomLeft',
+ 'bottom',
+ 'bottomRight',
+ 'leftTop',
+ 'left',
+ 'leftBottom',
+ ],
+ },
+ },
+ },
+} as Meta
+
+export const Default: Story