You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
431 B
16 lines
431 B
1 year ago
|
#if (${PACKAGE_NAME} && ${PACKAGE_NAME} != "")package ${PACKAGE_NAME}#end
|
||
|
|
||
|
import androidx.compose.ui.tooling.preview.PreviewParameterProvider
|
||
|
|
||
|
open class ${NAME}StateProvider : PreviewParameterProvider<${NAME}State> {
|
||
|
override val values: Sequence<${NAME}State>
|
||
|
get() = sequenceOf(
|
||
|
a${NAME}State(),
|
||
|
// Add other states here
|
||
|
)
|
||
|
}
|
||
|
|
||
|
fun a${NAME}State() = ${NAME}State(
|
||
|
eventSink = {}
|
||
|
)
|