Skip to content

Commit

Permalink
chore: temp push
Browse files Browse the repository at this point in the history
fix for deploy static page
  • Loading branch information
aolyang committed Dec 27, 2024
1 parent 1668deb commit 64fd1dd
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 3 deletions.
19 changes: 19 additions & 0 deletions packages/tiptiz-editor-icons/README.md
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} />
</>)
}
```
6 changes: 6 additions & 0 deletions packages/tiptiz-editor-icons/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,11 @@
".": {
"import": "./src/index.ts"
}
},
"devDependencies": {
"@mdi/js": "^7.4.47"
},
"peerDependencies": {
"@mdi/js": "^7.4.47"
}
}
29 changes: 26 additions & 3 deletions packages/tiptiz-editor-icons/src/index.ts
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

0 comments on commit 64fd1dd

Please sign in to comment.