What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-11-03 16:04:18
proptypes for a react component
import PropTypes from 'prop-types'; MyComponent.propTypes = { // You can declare that a prop is a specific JS type. By default, these // are all optional. optionalArray: PropTypes.array, optionalBool: PropTypes.bool, optionalFunc: PropTypes.fun... Add solution -
Javascript 2021-10-25 11:42:20
reactnode prop-types
import PropTypes from 'prop-types'; MyComponent.propTypes = { // You can declare that a prop is a specific JS type. By default, these // are all optional. optionalArray: PropTypes.array, optionalBool: PropTypes.bool, optionalFunc: PropTypes.fun... Add solution -
Javascript 2021-09-15 08:27:03
react proptypes example
import PropTypes from 'prop-types'; MyComponent.propTypes = { // You can declare that a prop is a specific JS type. By default, these // are all optional. optionalArray: PropTypes.array, optionalBool: PropTypes.bool, optionalFunc: PropTypes.fun... Add solution -
Javascript 2021-09-03 09:07:02
javascript typewriter effect
// *** JS Typewriter Effect *** let i = 0; let target = document.getElementById("target"); let text = target.innerHTML; target.innerHTML = ' '; let speed = 75; //speed duration of effect in millisec typeWriter(); //to c... Add solution -
Javascript 2021-08-28 00:09:02
react proptypes
import PropTypes from 'prop-types'; MyComponent.propTypes = { // You can declare that a prop is a specific JS type. By default, these // are all optional. optionalArray: PropTypes.array, optionalBool: PropTypes.bool, optionalFunc: PropTypes.fun... Add solution
Best helpers
Lupa
+5
Calista
+5
Shivam Patel
+5
MGA
+5
Carla Walker
+5
Brad Thomas
+5
Sara J
+5
DJaye
+5
Umesh
+5
Mai0003c
+5
Zulu
+5
Rusnasonov
+5
Loronzo
+5
Pc1oad1etter
+5
Vermilions
+5
Ian Goldby
+5
Amit Pareek
+5
Elenaher
+5
Poster
+5
Nerrolken
+5
OiciTrap
+5
Pranasas
+5
RLHanout
+5
Hassaan
+5
Heewoo Kim
+5
JBeez
+5