lint issue

This commit is contained in:
Mutasem 2021-08-09 12:29:36 +02:00
parent 3eded4cb1d
commit fbdfa77984

View file

@ -109,7 +109,7 @@ export default {
...(props.fullWidth ? { width: "100%" } : {}), ...(props.fullWidth ? { width: "100%" } : {}),
}; };
}, },
getClass(props: { type: string; theme?: string }) { getClass(props: { type: string; theme?: string }): string {
return props.type === "text" return props.type === "text"
? "text" ? "text"
: `${props.type}-${props.theme || "primary"}`; : `${props.type}-${props.theme || "primary"}`;