Saltearse al contenido

styles

Esta página aún no está disponible en tu idioma.

The styles is a writable store that contains the custom classnames that you set for the form or globally.

Example

<script lang="ts">
import { faviform, setConfig } from '@tuentyfaiv/svelte-form';
import type { ContextStyles } from '@tuentyfaiv/svelte-form';
const styles: ContextStyles = {
// ...classnames
};
const form = faviform<Data>({ styles });
// or globally
setConfig(styles);
</script>