Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- constructor() {
- super();
- this.state = {
- deityChoice: ['valkyrie', 'einjerhar', 'aesir'],
- deity: {} as Valkyrie | Aesir | Einherjar, // Instiate as an empty object - with type of Valkyrie, Aesir or Einherjar
- formValues: [],
- totalDeities: deities // Populate totalDeities with our sample data
- }
- }
Add Comment
Please, Sign In to add comment