tecatecom

0.0.48 • Public • Published

Installation

$npm install tecatecom --save

Usage

import { Button } from 'tecatecom/src';

return (
    <Button 
        width="60px" 
        height="40px" 
        background="#000"
        onPress={() => alert('lollipop')}
        style="" //add extra styles in css format
    >
    </Button>
)

Components props

Avatar props = {
    size: string,
    image: string,
    editImageUrl?: any,
    onPress?: () => void
}

Button props = {
    width: string,
    height: string,
    background: string,
    onPress?: () => void,
    children: any,
    style: string
}

CheckBox props = {
    onPress: () => void,
    label?: any,
    checked: boolean,
    size: string,
}

Header props = {
    theme: string,
    backCall?: () => void,
    style?: string,
    left?: any,
    middle?: any,
    right?: any
}

ListView props = {
    list: {title: any, item: any}[],
    spacing: string
}

TecateText props = {
    color?: string,
    variant: string,
    style?: string,
    children: any,
}

Selector props = {
    grid: number,
    maxSelect: number,
    items: {value: number, view: any}[],
    callBack: (values: any) => void
}

Package Sidebar

Install

npm i tecatecom

Weekly Downloads

1

Version

0.0.48

License

ISC

Unpacked Size

137 MB

Total Files

13331

Last publish

Collaborators

  • gutierrezdevelasco