Options
All
  • Public
  • Public/Protected
  • All
Menu

Kancha Text Props

Hierarchy

  • TextProps

Index

Properties

Optional block

block: Kancha.BlockPropsOptions

Overide the color with a warning color

Optional bold

bold: undefined | false | true

Make the text bold

Optional buttonTextColor

buttonTextColor: Kancha.BrandPropOptions

Color prop is used to configure button text colors

Optional margin

margin: undefined | number

The margin around the text

Optional onPress

onPress: undefined | function

The type of text to display. This will be styled accordinly to the theme

Optional padding

padding: undefined | number

The padding around the text

Optional paddingBottom

paddingBottom: number | boolean | undefined

A bottom padding for the text. Useful for headings

Optional selectable

selectable: undefined | false | true

All the text to be selectable

Optional testID

testID: undefined | string

A testID for the text element

Optional textAlign

textAlign: undefined | string

The margin around the text

Optional textColor

textColor: undefined | string

Overide the brand color

Optional textDecorationLine

textDecorationLine: "none" | "underline" | "line-through" | "underline line-through" | undefined

Decoration for button text

Optional textStyle

textStyle: TextStyle

Transform the text

theme

theme: any

Transform the text

Optional transform

transform: "uppercase" | "lowercase" | undefined

Transform the text

Optional type

type: undefined | string

The type of text to display. This will be styled accordinly to the theme

Optional warn

warn: undefined | false | true

Overide the color with a warning color

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc