-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix for deploy static page
- Loading branch information
Showing
3 changed files
with
51 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# if you familiar with @mdi/js | ||
|
||
https://github.com/Templarian/MaterialDesign-JS?tab=readme-ov-file#readme | ||
|
||
```jsx | ||
import { mdiIcon } from "@mdi/js" | ||
import { ediUndo, ediRedo } from "@tiptiz/editor-icons" | ||
|
||
import { Icon } from "@mdi/react" | ||
|
||
console.log(ediUndo) // "M...Z" | ||
export default function Toolbar() { | ||
return (<> | ||
<Icon path={ediUndo} /> | ||
<Icon path={ediRedo} /> | ||
<Icon path={mdiIcon} /> | ||
</>) | ||
} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,26 @@ | ||
export default { | ||
a: 1 | ||
} | ||
import { mdiArrowULeftTop, mdiArrowURightTop } from "@mdi/js" | ||
|
||
export const ediUndo = mdiArrowULeftTop | ||
export const ediRedo = mdiArrowURightTop | ||
|
||
import { | ||
mdiFormatHeader1, | ||
mdiFormatHeader2, | ||
mdiFormatHeader3, | ||
mdiFormatHeader4, | ||
mdiFormatHeader5, | ||
mdiFormatHeader6, | ||
mdiFormatHeaderIncrease, | ||
mdiFormatHeaderDecrease, | ||
mdiFormatHeaderPound | ||
} from "@mdi/js" | ||
|
||
export const ediHeading1 = mdiFormatHeader1 | ||
export const ediHeading2 = mdiFormatHeader2 | ||
export const ediHeading3 = mdiFormatHeader3 | ||
export const ediHeading4 = mdiFormatHeader4 | ||
export const ediHeading5 = mdiFormatHeader5 | ||
export const ediHeading6 = mdiFormatHeader6 | ||
export const ediHeadingInc = mdiFormatHeaderIncrease | ||
export const ediHeadingDec = mdiFormatHeaderDecrease | ||
export const ediHeadingPound = mdiFormatHeaderPound |