mirror of
https://github.com/portainer/portainer.git
synced 2025-08-02 20:35:25 +02:00
feat(gpu): rework docker GPU for UI performance [EE-4918] (#8518)
This commit is contained in:
parent
769c8372fb
commit
fd916bc8a2
52 changed files with 692 additions and 285 deletions
18
app/react/components/InsightsBox/InsightsBox.stories.tsx
Normal file
18
app/react/components/InsightsBox/InsightsBox.stories.tsx
Normal file
|
@ -0,0 +1,18 @@
|
|||
import { Meta, Story } from '@storybook/react';
|
||||
|
||||
import { InsightsBox, Props } from './InsightsBox';
|
||||
|
||||
export default {
|
||||
component: InsightsBox,
|
||||
header: 'Components/InsightsBox',
|
||||
} as Meta;
|
||||
|
||||
function Template({ header, content }: Props) {
|
||||
return <InsightsBox header={header} content={content} />;
|
||||
}
|
||||
|
||||
export const Primary: Story<Props> = Template.bind({});
|
||||
Primary.args = {
|
||||
header: 'Insights box header',
|
||||
content: 'This is the content of the insights box',
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue