tys.elements()
Esta página aún no está disponible en tu idioma.
Creates an elements group: the appearance and language shared by the elements you create from it.
elements(options?: ElementsOptions): Elements;Parameters
Section titled “Parameters”optionsElementsOptionsOpcionalPropiedades
appearanceAppearanceOpcionalLook and feel. By default (theme: "inherit") elements take your page's font and colours. See Appearance(/reference/web/appearance/).
localeLocaleOpcionalReturns
Section titled “Returns”Elements: An Elements group: create(), getElement(), update().
Example
Section titled “Example”const elements = tys.elements({ appearance: { variables: { colorPrimary: "#3b2f26", borderRadius: 10 } }, locale: "auto",});<TryYourSizeProvider publishableKey="pk_test_…" options={{ appearance: { variables: { colorPrimary: "#3b2f26", borderRadius: 10 } } }}>¿Te ha resultado útil esta página?
Gracias. Leemos todas las respuestas.