Building the First Content Components
We'll cover the following...
Unit Info Tab
The first major piece of our UI will allow displaying and editing the details for whatever fictional Battletech combat group we’ve created. That includes things like what the name of the group is, what faction they work for, and so on.
Per the mockup shown earlier, the Unit Info tab is a basic form with a few fields. We’ll just add the “Name” and “Affiliation” fields for now, and deal with the other fields another time.
Filling out the <UnitInfo>
component is pretty straightforward:
...
Create a free account to access the full course.
By signing up, you agree to Educative's Terms of Service and Privacy Policy