Text
Plain text.
Interface: IText.
See the parameters of this component in storybook.
Extra parameters
text
The text inserted into the component.
Type: string
Example: "Sample for text component"
Example
import {type IText} from "@onlyoffice/docspace-plugin-sdk"
const text: IText = {
text: "Sample for text component",
fontWeight: 600,
fontSize: "13px",
lineHeight: "20px",
noSelect: true,
}