mirror of
https://github.com/zammad/zammad
synced 2026-05-24 09:48:36 +00:00
27 lines
584 B
TypeScript
27 lines
584 B
TypeScript
// Copyright (C) 2012-2026 Zammad Foundation, https://zammad-foundation.org/
|
|
|
|
import { createSection } from '@formkit/inputs'
|
|
|
|
import type { FormKitSchemaNode } from '@formkit/core'
|
|
|
|
export const arrow = createSection(
|
|
'arrow',
|
|
() =>
|
|
({
|
|
$el: 'div',
|
|
attrs: {
|
|
class: '$classes.arrow',
|
|
},
|
|
children: [
|
|
{
|
|
$cmp: 'CommonIcon',
|
|
props: {
|
|
size: 'base',
|
|
class: 'shrink-0',
|
|
name: '$arrowIconName',
|
|
decorative: true,
|
|
},
|
|
},
|
|
],
|
|
}) as FormKitSchemaNode,
|
|
)
|