ManuscriptScope

interface ManuscriptScope

Functions

Link copied to clipboard

Register an action for this component

Link copied to clipboard
fun <T : Any> ManuscriptScope.Control(type: KClass<T>, control: @Composable BoxScope.(control: Control<T>) -> Unit)

Register a custom control for handling a data type that Manuscript doesn't natively handle

Link copied to clipboard
fun <T> ManuscriptScope.control(name: String, defaultValue: T): Control<T>

Register a control for this component

Link copied to clipboard

Register a component variant