fix improve component docs

This commit is contained in:
Ruben Fiszel
2023-10-22 18:14:34 +02:00
parent 8ac0562a36
commit 7ce5c84758
@@ -66,13 +66,13 @@ const validate = {
const invalidate = {
title: 'invalidate',
description: 'Invalidate a specific field of a form',
example: 'validate(id: string, key: string, error: string)',
example: 'invalidate(id: string, key: string, error: string)',
}
const validateAll = {
title: 'validateAll',
description: 'Validate all fields of a form',
example: 'validate(id: string, key: string)',
example: 'validateAll(id: string, key: string)',
}
export function getComponentControl(type: keyof typeof components): Array<ComponentFunction> {