1.1.2 • Published 1 year ago

ioon-rn-dynamicinput v1.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

ioon-rn-DynamicInput

Dynamic Input Component for Modern React Native Applications

MIT License

Installation

Install ioon-rn-dynamicinput with npm

  npm i ioon-rn-dynamicinput

and import

import { useState } from "react";
import { View } from "react-native";
import DynamicInput from "ioon-rn-dynamicinput";

export default function App() {
  const [data, setData] = useState([]);

  return (
    <View
      style={{
        flex: 1,
        backgroundColor: "#fff",
        alignItems: "center",
        justifyContent: "center",
        paddingHorizontal: 25,
      }}
    >
      <DynamicInput placeholder="Some text..." set={setData} data={data} />
    </View>
  );
}

Demo

demo1 demo2

Props

styleStylePropStyle of View
textStyleStylePropStyle of Text of Dynamic Input
placeholderstringplaceholder of Text
dataarray (useState)State of Dynamic Data
setfunction (useState)Function used to update the data
roundedItemAnimatableNumericValueBorder Radius of Dynamic Item
itemColorColorValueBackground Color of Dynamic Item
btnHeightDimensionValueHeight of Close Button
btnColorColorValueColor of Close Button

Authors

License

MIT

1.1.1

1 year ago

1.1.2

1 year ago

1.1.0

1 year ago

1.0.0

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago