1.1.0 • Published 3 years ago

@themeables/text-align v1.1.0

Weekly downloads
41
License
MIT
Repository
github
Last release
3 years ago

@themeables/text

What is a themeable? You can find more in the @themeables readme

Properties that the theme function for the @themeables/text-align should return:

export type TAlign = 'start' | 'center' | 'end'
export type TDirection = 'left-to-right' | 'right-to-left'

type TThemeableTextAlign = {
  align?: TAlign,
  direction?: TDirection,
}

You can see a full example usage in the meta file