tycho-storybook 0.2.3 → 0.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import TooltipComponent, { TooltipModes } from './Tooltip';
|
|
3
|
+
import Icon from '../Icon';
|
|
3
4
|
const meta = {
|
|
4
5
|
title: 'Components/Tooltip',
|
|
5
6
|
component: TooltipComponent,
|
|
@@ -38,3 +39,10 @@ export const Complex = {
|
|
|
38
39
|
},
|
|
39
40
|
},
|
|
40
41
|
};
|
|
42
|
+
export const SimpleWithIcon = {
|
|
43
|
+
args: {
|
|
44
|
+
mode: 'simple',
|
|
45
|
+
title: 'Simple tooltip title',
|
|
46
|
+
children: (_jsx("span", { children: _jsx(Icon, { name: "help" }) })),
|
|
47
|
+
},
|
|
48
|
+
};
|
package/dist/Tooltip/styles.scss
CHANGED