import React, { Component } from 'react'
import FeedbackMessage from './FeedbackMessage'
class App extends Component {
render() {
return (
<div className="App">
<FeedbackMessage name="SoyLuisCorona" app="My App React" />
</div>
);
}
}
Each property is indicated as if it were an HTML attribute, to which we indicate its value. This would be a code where the FeedbackMessage component is used, indicating the values of its properties.
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.