Skip to content
Open
13 changes: 12 additions & 1 deletion stories/IconField.stories.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from "react";
import IconField from "../src/IconField";
import Input from "../src/Input";
import { accountIcon, eyeIcon, BlendIcon } from "@blend-ui/icons";
import { accountIcon, eyeIcon, BlendIcon, lockIcon } from "@blend-ui/icons";

export default { title: "Icon Field" };

Expand Down Expand Up @@ -35,3 +35,14 @@ export const iconfieldinput3 = () => (
iconfieldinput3.story = {
name: "Icon Both Field Input ",
};

export const iconfieldinputPasswd = () => (
<IconField>
<BlendIcon iconify={lockIcon} />
<Input placeholder={"Enter value here"} type={"password"}/>
<BlendIcon iconify={eyeIcon} />
</IconField>
);
iconfieldinputPasswd.story = {
name: "Icon Both Field Input -PWD",
};