Skip to content

BlockSuite API Documentation / @blocksuite/blocks / TextStyleProps

Type Alias: TextStyleProps

TextStyleProps: object

Type declaration

color

color: Color

fontFamily

fontFamily: FontFamily

fontSize

fontSize: number

fontStyle

fontStyle: FontStyle

fontWeight

fontWeight: FontWeight

textAlign

textAlign: TextAlign

Defined in

packages/affine/model/dist/consts/text.d.ts:18