mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2025-12-13 07:46:10 +00:00
23 lines
452 B
TypeScript
23 lines
452 B
TypeScript
import { createContext } from 'react'
|
|
|
|
import type { MarkerIcon } from '#types/MarkerIcon'
|
|
|
|
interface LayerContextType {
|
|
name: string
|
|
markerDefaultColor: string
|
|
markerDefaultColor2: string
|
|
markerShape: string
|
|
menuText: string
|
|
markerIcon?: MarkerIcon
|
|
}
|
|
|
|
const LayerContext = createContext<LayerContextType>({
|
|
name: '',
|
|
markerDefaultColor: '',
|
|
markerDefaultColor2: '',
|
|
markerShape: '',
|
|
menuText: '',
|
|
})
|
|
|
|
export default LayerContext
|