Allow setting font features on TextStyle
This commit is contained in:
parent
7d13b00914
commit
76167ca65c
2 changed files with 9 additions and 2 deletions
|
@ -97,7 +97,12 @@ export interface TextProperties {
|
|||
size?: keyof typeof fontSizes
|
||||
weight?: FontWeight
|
||||
underline?: boolean
|
||||
color?: string
|
||||
color?: string,
|
||||
features?: TextFeatures,
|
||||
}
|
||||
|
||||
interface TextFeatures {
|
||||
calt?: boolean
|
||||
}
|
||||
|
||||
export function text(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue