mirror of
https://github.com/woodchen-ink/CoverView.git
synced 2025-07-18 14:01:56 +08:00
feat: add defaultIcon to devIconOptions
This commit is contained in:
parent
cd486ea421
commit
980bff83f2
@ -5,14 +5,16 @@ import Select from 'react-select';
|
|||||||
import RandomTheme from './RandomTheme';
|
import RandomTheme from './RandomTheme';
|
||||||
// import resetIcon from '../assets/icons/reset.svg'
|
// import resetIcon from '../assets/icons/reset.svg'
|
||||||
|
|
||||||
|
const defaultIcon = { 'label': 'react', 'value': 'react' }
|
||||||
|
|
||||||
const defaultSettings = {
|
const defaultSettings = {
|
||||||
title: "How I built my first project with react",
|
title: "How I built my first project with react",
|
||||||
bgColor: "#dcd6f7",
|
bgColor: "#dcd6f7",
|
||||||
pattern: "",
|
pattern: "",
|
||||||
download: "PNG",
|
download: "PNG",
|
||||||
author: 'Rutik Wankhade',
|
author: 'Rutik Wankhade',
|
||||||
icon: { 'label': 'react', 'value': 'react' },
|
icon: defaultIcon,
|
||||||
devIconOptions: {},
|
devIconOptions: [defaultIcon],
|
||||||
font: 'font-sans',
|
font: 'font-sans',
|
||||||
theme: 'modern',
|
theme: 'modern',
|
||||||
customIcon: ''
|
customIcon: ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user