@bigbinary/neetoui 2.0.87 → 2.0.88
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.
- package/package.json +1 -1
- package/stories/Tooltip.stories.jsx +20 -0
- package/v2/formik.js +1 -1
- package/v2/index.js +1 -1
- package/v2/layouts.js +1 -1
package/package.json
CHANGED
|
@@ -2,6 +2,7 @@ import React from "react";
|
|
|
2
2
|
|
|
3
3
|
import Button from "../lib/components/Button";
|
|
4
4
|
import Tooltip from "../lib/components/Tooltip";
|
|
5
|
+
import Typography from "../lib/components/Typography";
|
|
5
6
|
|
|
6
7
|
export default {
|
|
7
8
|
title: "Overlays/Tooltip",
|
|
@@ -115,3 +116,22 @@ export const Themes = () => {
|
|
|
115
116
|
</div>
|
|
116
117
|
);
|
|
117
118
|
};
|
|
119
|
+
|
|
120
|
+
export const TooltipOnText = () => {
|
|
121
|
+
return (
|
|
122
|
+
<div className=" p-10 flex items-center justify-center space-x-6">
|
|
123
|
+
<Tooltip placement="top" content={"Tooltip"}>
|
|
124
|
+
<Typography>Top</Typography>
|
|
125
|
+
</Tooltip>
|
|
126
|
+
<Tooltip placement="bottom" content={"Tooltip"}>
|
|
127
|
+
<Typography>Bottom</Typography>
|
|
128
|
+
</Tooltip>
|
|
129
|
+
<Tooltip placement="left" content={"Tooltip"}>
|
|
130
|
+
<Typography>Left</Typography>
|
|
131
|
+
</Tooltip>
|
|
132
|
+
<Tooltip placement="right" content={"Tooltip"}>
|
|
133
|
+
<Typography>Right</Typography>
|
|
134
|
+
</Tooltip>
|
|
135
|
+
</div>
|
|
136
|
+
);
|
|
137
|
+
};
|