This is how we can make two digit calculator using components. This video explains react variables, conditions, functions, render function, multiple componenets as add,multiply and divide, import and export user made componenets, use of props and use of components in client file.
You can extend this to form based UI, pass values of input boxes.