Skip to content

Instantly share code, notes, and snippets.

View balazimichal's full-sized avatar

R2HC0D balazimichal

  • Bialystok, Poland
View GitHub Profile
@pavsidhu
pavsidhu / form.jsx
Last active March 22, 2020 14:27
Validate.js with React Native Form Example
import React, {Component} from 'react'
import {View, Button} from 'react-native'
import TextField from 'textfield'
import validation from 'validation'
import validate from 'validation_wrapper'
export default class Form extends Component {
constructor(props) {
super(props)
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<link rel="stylesheet" href="css/bootstrap.min.css">
<title>Bootstrap</title>
</head>