mirror of
https://github.com/modrinth/code.git
synced 2026-08-31 12:05:53 +00:00
fix: prepr
This commit is contained in:
@@ -259,17 +259,9 @@ export interface NodePropsContext {
|
||||
toggleSetValue?: (value: string) => void
|
||||
}
|
||||
|
||||
export type BuiltinRendererKey =
|
||||
| 'action'
|
||||
| 'checkbox'
|
||||
| 'toggle'
|
||||
| 'dropdown'
|
||||
| 'text'
|
||||
| 'markdown'
|
||||
export type BuiltinRendererKey = 'action' | 'checkbox' | 'toggle' | 'dropdown' | 'text' | 'markdown'
|
||||
|
||||
export type NodeRendererDescriptor =
|
||||
| { type: BuiltinRendererKey }
|
||||
| { type: 'custom'; key: string }
|
||||
export type NodeRendererDescriptor = { type: BuiltinRendererKey } | { type: 'custom'; key: string }
|
||||
|
||||
export interface Renderable {
|
||||
_renderer: NodeRendererDescriptor
|
||||
|
||||
@@ -12,8 +12,8 @@ import {
|
||||
withNoneLabel,
|
||||
withOnClick,
|
||||
withPriority,
|
||||
withRequired,
|
||||
withRenderer,
|
||||
withRequired,
|
||||
withSelectable,
|
||||
withShown,
|
||||
withStageMeta,
|
||||
|
||||
Reference in New Issue
Block a user