Skip to main content

grid-pro.getstringeditortemplate

Home > @genesislcap/grid-pro > getStringEditorTemplate

getStringEditorTemplate() function

Get a Design System prefixed String template.

Signature:

getStringEditorTemplate: (designSystem?: string) => import("@microsoft/fast-element").ViewTemplate<StringEditor, any>

Parameters

Parameter

Type

Description

designSystem

string

(Optional) The design system prefix to use. Defaults to 'foundation'.

Returns:

import("@microsoft/fast-element").ViewTemplate<StringEditor, any>

A String component template prefixed with the correct design system.