Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 14 additions & 2 deletions src/Popover/__stories__/Popover.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ import {
} from '@storybook/addon-knobs';
import React, { useState } from 'react';

export default {
title: 'Component API/Popover',
component: Popover
};

const bodyContent = (
<Menu>
<Menu.List>
Expand Down Expand Up @@ -238,6 +243,7 @@ export const widthSizingTypes = () => (
body={longBodyContent}
control={<Button>widthizingType: <strong>'{type}'</strong></Button>}
disableEdgeDetection
key={type}
placement='bottom'
widthSizingType={type} />)
)}
Expand Down Expand Up @@ -297,7 +303,11 @@ outOfBoundaries.story = {
storyDescription: `When an overlay (\`body\`) is visible, the reference (\`control\`)
element must be tracked because if it overflows from its boundaries, the overlay
will be hidden as well.`
}
},

// TO DO: reenable storyshots for examples using hooks in storybook@6
// https://github.com/storybookjs/storybook/releases/tag/v6.0.0-alpha.43
storyshots: { disable: true }
}
};

Expand Down Expand Up @@ -339,5 +349,7 @@ export const dev = () => (
})} />
);
dev.story = {
parameters: { docs: { disable: true } }
parameters: {
docs: { disable: true }
}
};
Loading