26 lines
805 B
JavaScript
26 lines
805 B
JavaScript
// Module ID: 5438
|
|
// Function ID: 46500
|
|
// Name: FormLabel
|
|
// Dependencies: []
|
|
// Exports: default
|
|
|
|
// Module 5438 (FormLabel)
|
|
importAll(dependencyMap[0]);
|
|
const jsx = arg1(dependencyMap[1]).jsx;
|
|
const result = arg1(dependencyMap[3]).fileFinishedImporting("design/void/Form/native/FormLabel.tsx");
|
|
|
|
export default function FormLabel(numberOfLines) {
|
|
let accessible;
|
|
let color;
|
|
let style;
|
|
let num = numberOfLines.numberOfLines;
|
|
if (num === undefined) {
|
|
num = 0;
|
|
}
|
|
({ color, style, accessible } = numberOfLines);
|
|
if (color === undefined) {
|
|
color = "mobile-text-heading-primary";
|
|
}
|
|
const obj = { variant: "heading-md/semibold", color, lineClamp: num, style, maxFontSizeMultiplier: 2, accessible, children: numberOfLines.text };
|
|
return jsx(arg1(dependencyMap[2]).Text, obj);
|
|
};
|