jtara1 / base_converter Goto Github PK
View Code? Open in Web Editor NEWReact native app that allows user to convert numbers of one base to another base
License: MIT License
React native app that allows user to convert numbers of one base to another base
License: MIT License
Possible Problems:
this
in inputViews[this.props.numberBase] = this;
is working as intended <NumberInputView
label={"bin"}
numberBase={2}
/>
onChangeText
event within TextInput
component.Possible Solutions:
this.refs
, an attribute inherited from ComponentIt should be implied by the numberBase
property value.
Later, I can do "Base " + this.props.numberBase
for KeyError / undefined access attempts to labels object.
let labels = {
2: "Bin",
8: "Oct",
10: "Dec",
16: "Hex",
};
props["label"] = labels[props.numberBase];
So I want to be able to removed the label prop
<NumberInputView
label={"Bin"}
numberBase={2}
/>
current attempts seem to make props["label"] === ""
I'd imagine something is screwing up in my my regex pattern matching and replacing or in the filterInput
method.
example:
click input field for hex number and
press the keys:
A
d
f
then the text in the field will be ADADF
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.