Write a program that renders a JSX element with conditionals. The input will contain a string representing the element's props. The output should be the rendered element. For example, if the input is name=John&isAdmin=true, the output should be <p>Hello, John! You are an admin.</p>. If the input is name=John&isAdmin=false, the output should be <p>Hello, John!</p>.
Hints
Write a program that renders a JSX element with conditionals. The input will contain a string representing the element's props. The output should be the rendered element. For example, if the input is name=John&isAdmin=true, the output should be <p>Hello, John! You are an admin.</p>. If the input is name=John&isAdmin=false, the output should be <p>Hello, John!</p>.
Hints