mirror of
https://github.com/penpot/penpot-plugins.git
synced 2025-01-21 06:02:34 -05:00
feat: expose text props
This commit is contained in:
parent
1d76bfe985
commit
79c1231e56
1 changed files with 10 additions and 0 deletions
10
libs/plugin-types/index.d.ts
vendored
10
libs/plugin-types/index.d.ts
vendored
|
@ -339,6 +339,16 @@ export interface PenpotText extends PenpotShapeBase {
|
|||
readonly type: 'text';
|
||||
characters: string;
|
||||
growType: 'fixed' | 'auto-width' | 'auto-height';
|
||||
|
||||
fontId: string | 'mixed';
|
||||
fontFamily: string | 'mixed';
|
||||
fontVariantId: string | 'mixed';
|
||||
fontSize: string | 'mixed';
|
||||
fontWeight: string | 'mixed';
|
||||
fontStyle: string | 'mixed';
|
||||
lineHeight: string | 'mixed';
|
||||
letterSpacing: string | 'mixed';
|
||||
textTransform: string | 'mixed';
|
||||
}
|
||||
|
||||
export interface PepotFrame extends PenpotShapeBase {
|
||||
|
|
Loading…
Add table
Reference in a new issue