What you will learn in this video?
1. What is Interface?
2. What props actually is.
3. Define the interface for CountLabel
4. How to use the variable type for props
5. How to breakdown the props to be used normally
6. How to use the function type for props
This Video Series Link: • ReactJS + ReactStrap + Bun [Newbie Series]
Previous Video: 9. React Custom Component
Links:
Interface Wikipedia Link: https://en.wikipedia.org/wiki/Interfa...)
Reactstrap Documentation: https://reactstrap.github.io/?path=/s...
Github link: https://github.com/AkiraToya/basicbun...
This Github commit link:
https://github.com/AkiraToya/basicbun...
To clone:
1. Go to terminal and go to the project folder you want.
2. Type "git clone https://github.com/AkiraToya/basicbun... ." ( dot means current folder )
3. Type "git checkout 5494fa3bf3f3064a4f65931a6339b53e46645403"
Timecode:
00:00 What is Interface?
00:34 So props is...
00:57 Create Props Interface for CountLabel
02:59 Create Props Interface for CountControl
03:31 Props Interface with Function Type
03:56 Congratulation
Thanks for watching. Hope this video series helps you learn faster.