Name: ejemplo-react-props
Owner: Adalab
Description: null
Created: 2017-07-12 12:23:34.0
Updated: 2017-07-14 16:04:22.0
Pushed: 2017-07-14 16:01:23.0
Homepage: null
Size: 109
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Este ejemplo muestra el uso de
defaultProps
para definir valores por defecto para propiedades de componentes ReactpropTypes
para verificar los tipos de las propiedades que le pasamos a un componente ReactPara probar estos ejemplos:
git clone
npm install
para instalar las dependenciasnpm start
para arrancar el servidor local y ver el ejemplo en el navegadorEstos ejemplos están creados con el código boilerplate de Create React App.