mirror of
https://github.com/mdn/webextensions-examples.git
synced 2026-04-24 02:02:53 +02:00
Example using React / ES6 (#155)
This commit is contained in:
+15
@@ -0,0 +1,15 @@
|
||||
import React from 'react';
|
||||
|
||||
export default class Nested extends React.Component {
|
||||
render() {
|
||||
return (
|
||||
<div>
|
||||
<h2>Nested Component</h2>
|
||||
<p>
|
||||
This is an example of a nested component that was imported via
|
||||
import / export syntax.
|
||||
</p>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user