Skip to content

Latest commit

 

History

History

vector-shape

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

@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