4.1.0 • Published 3 years ago

@themeables/vector-shape v4.1.0

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

@themeables/vector-shape

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

Properties that the theme function for the @themeables/vector-shape should return:

type TThemeableVectorShape = {
  height?: number,
  path: string,
  width?: number,
  color?: TColor,
}

On top of that, the themeable VectorShape component receives these props:

type TVectorShape = {
  id?: string,
  height?: number,
  path: string,
  width?: number,
  color?: TColor,
}

You can see a full example usage in the meta file