diff --git a/src/containers/Navigation/index.jsx b/src/containers/Navigation/index.jsx
index af4974a..3692f4e 100644
--- a/src/containers/Navigation/index.jsx
+++ b/src/containers/Navigation/index.jsx
@@ -39,6 +39,7 @@ import CheckBox from "../../content/CheckBox";
import BottomSheet from "../../content/BottomSheet";
import ButtonGroup from "../../content/ButtonGroup";
import Divider from "../../content/Divider";
+import FAB from "../../content/FAB";
import SwitchComponent from "../../content/Switch";
export const Components_Index = [
@@ -83,6 +84,11 @@ export const Components_Index = [
component: Divider,
path: "/divider",
},
+ {
+ name: "FAB",
+ component: FAB,
+ path: "/fab",
+ },
{
name: "Header",
diff --git a/src/content/FAB/fab.playground.jsx b/src/content/FAB/fab.playground.jsx
new file mode 100644
index 0000000..dd7bfd5
--- /dev/null
+++ b/src/content/FAB/fab.playground.jsx
@@ -0,0 +1,67 @@
+import * as React from "react";
+import { FAB } from "react-native-elements";
+
+import Playground from "../../components/playground";
+import { useView, PropTypes } from "react-view";
+
+const FabPlayground = () => {
+ const params = useView({
+ componentName: "FAB",
+ props: {
+ style: {
+ type: PropTypes.Object,
+ value: `{width:"80%",margin:20}`,
+ },
+ placement: {
+ type: PropTypes.Enum,
+ options: { left: "left", right: "right" },
+ value: "left",
+ },
+ color: {
+ type: PropTypes.String,
+ value: "",
+ },
+ size: {
+ type: PropTypes.Enum,
+ options: { small: "small", large: "large" },
+ value: "small",
+ },
+ visible: {
+ type: PropTypes.Boolean,
+ value: false,
+ },
+ upperCase: {
+ type: PropTypes.Boolean,
+ value: false,
+ },
+ overlayColor: {
+ type: PropTypes.String,
+ value: "#454545",
+ },
+ title: {
+ type: PropTypes.String,
+ value: "Create",
+ },
+ icon: {
+ type: PropTypes.Object,
+ value: `{ name: 'edit', color: '#fff' }`,
+ },
+ },
+ scope: {
+ FAB,
+ },
+ imports: {
+ "react-native-elements": {
+ named: ["FAB"],
+ },
+ },
+ });
+
+ return (
+