mirror of
https://github.com/abhijithvijayan/web-extension-starter.git
synced 2025-10-07 07:22:37 +02:00
chore: add imports of styles to jsx files
This commit is contained in:
parent
8384723acc
commit
eec03e3ef8
@ -1,5 +1,7 @@
|
||||
import React from 'react';
|
||||
|
||||
import './styles.scss';
|
||||
|
||||
const Options: React.FC = () => {
|
||||
return <div>Hello World</div>;
|
||||
};
|
||||
|
||||
@ -1,6 +1,8 @@
|
||||
import React from 'react';
|
||||
import { browser, Tabs } from 'webextension-polyfill-ts';
|
||||
|
||||
import './styles.scss';
|
||||
|
||||
function openWebPage(url: string): Promise<Tabs.Tab> {
|
||||
return browser.tabs.create({ url });
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user