feat:add support for css modules
This commit is contained in:
1 parent
3cdd4eb0d0
commit
c8e576d44f
9 files changed
+472
-21
No files matched your search
@@ -1,4 +1,5 @@
|
||||
import React from "react";
|
||||
import styles from "./ItemSheetApp.module.scss";
|
||||
|
||||
export function ItemSheetApp({ item }: { item: any }) {
|
||||
const system = item.system;
|
||||
@@ -12,9 +13,9 @@ export function ItemSheetApp({ item }: { item: any }) {
|
||||
};
|
||||
|
||||
return (
|
||||
<div className="newsystem item-sheet">
|
||||
<div className={styles.sheet}>
|
||||
<h1>{item.name}</h1>
|
||||
<label>
|
||||
<label className={styles.label}>
|
||||
Quantity
|
||||
<input
|
||||
type="number"
|
||||
@@ -23,7 +24,7 @@ export function ItemSheetApp({ item }: { item: any }) {
|
||||
onChange={(e) => updateQuantity(Number(e.target.value))}
|
||||
/>
|
||||
</label>
|
||||
<label>
|
||||
<label className={styles.label}>
|
||||
Description
|
||||
<textarea
|
||||
defaultValue={system.description}
|
||||
|
||||
Reference in new issue
Block a user