simran-button v1.0.10
Italic Introdution:
Here is our Navigation for you guys:
|Our package is compatible with all devices and with all browsers...|
Install package : npm i pickupbiz-navigation
Import component by using - import Navigation from "pickupbiz-navigation";
Declare the data useState:
const [data, setData] = useState(""); const handleChange = (d) => { setData(d); };
Handle Change : const handleChange = (d) => { setData(d); };
Implement Input Box by passing properties:
<Inputbox label="Enter Name Here:" onChange={handleChange} styles={{ label: { fontFamily: "Comic Sans MS", color: "brown", }, }} />
Use Sample Code:
import React, { useState } from "react"; import Inputbox from "pickupbiz-inputbox";
function App() { const [data, setData] = useState(""); const handleChange = (d) => { setData(d); }; return ( <React.Fragment> <Inputbox label="Enter Name Here:" onChange={handleChange} styles={{ label: { fontFamily: "Comic Sans MS", color: "brown", }, }} />
{data}
); }
export default App;