@themeables/vector-shape
TypeScript icon, indicating that this package has built-in type declarations

4.1.0 • Public • Published

@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

Readme

Keywords

none

Package Sidebar

Install

npm i @themeables/vector-shape

Weekly Downloads

0

Version

4.1.0

License

MIT

Unpacked Size

5.54 kB

Total Files

9

Last publish

Collaborators

  • julia.spehrer
  • ijigg
  • gideon.gur
  • irminakacz
  • atilaz
  • case.taintor
  • moria.am