Namespace: Tools

Tools

Type Definitions

capitalizeFirstLetter(string) → {string}

Default List of components types available

Parameters:
Name Type Description
string string

word to be treat

Returns:
Type
string

getClonedRenderItem(renderItem, props) → {React.DetailedReactHTMLElement.<*, HTMLElement>}

Get a cloned component

Parameters:
Name Type Description
renderItem HTMLHtmlElement

react component to be used for rendering

props Object

list of properties for the renderItem

Returns:
Type
React.DetailedReactHTMLElement.<*, HTMLElement>

hexToRgbA(hex, A) → {string}

Color with transparency

Parameters:
Name Type Description
hex String

hexadecimal value

A number

alpha value

Returns:
Type
string

randomColors() → {string}

Get a random color

Returns:
Type
string