Skip to content

Commit

Permalink
feat: Add icon for editor button
Browse files Browse the repository at this point in the history
  • Loading branch information
nervetattoo committed Mar 24, 2020
1 parent 8f1d8ef commit aadf490
Show file tree
Hide file tree
Showing 3 changed files with 4,058 additions and 58 deletions.
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,14 @@
"dependencies": {
"debounce-fn": "^4.0.0",
"mermaid": "^8.4.8",
"prop-types": "^15.7.2"
"prop-types": "^15.7.2",
"react-icons": "^3.9.0"
},
"peerDependencies": {
"react": "^16.8.0",
"@sanity/base": "^0.135.0",
"@sanity/components": "^0.135.0",
"@sanity/core": "^0.135.0"
"@sanity/core": "^0.135.0",
"react": "^16.8.0"
},
"config": {
"commitizen": {
Expand Down
2 changes: 2 additions & 0 deletions src/schema/mermaid.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
import { FaProjectDiagram } from 'react-icons/fa'
import Input from '../components/Input'
import Preview from '../components/Preview'

export default {
title: 'Mermaid graph',
name: 'mermaid',
type: 'object',
icon: FaProjectDiagram,
fields: [
{
type: 'text',
Expand Down
Loading

0 comments on commit aadf490

Please sign in to comment.