Code Monkey home page Code Monkey logo

ardesia-1's Introduction

awesome reusable react components.

Installation

Use with npm:

npm install ardesia --save

Scripts

Serve examples

To serve the examples locally run:

npm run examples

Then visit 0.0.0.0:9001

Serve website

To serve the website locally run:

npm run website

Then visit 0.0.0.0:9000

Deploy website

To deploy the website folder to the gh-pages branch run:

npm run gh-deploy

API

This API spec is not frozen and may change prior to the first stable release.

Input

<TextField>

Props
className

Set custom classes for component.

onChange(event)

Fired when the value of the TextField changes.

style

Set custom inline style. This has the highest priority so use it if you need to override default inline styles.

value

TextField value. Default is the empty string.

<Button>

Props
actionType

Set button style to match the intent of the triggered action. Accepted values are:

  • "primary"
  • "success"
  • "warning"
  • "danger"

Defaults to "primary".

onClick(event)

Fired when the button is clicked.

size

Set button size. Accepted values are:

  • "extraSmall"
  • "small"
  • "normal"
  • "large"

Defaults to "normal".

style

Set custom inline style. This has the highest priority so use it if you need to override default inline styles.

type

Set button appearance. Accepted values are:

  • "fill"
  • "hollow"
  • "link"

Defaults to "fill".

Layouts

<StackLayout>

This layout pile up its children along the axis specified by the axis prop.

Props
align

Set the children alignment on the cross-axis. Accepted values are:

  • "start"
  • "center"
  • "end"
  • "stretch"

Defaults to "start".

axis

Set the axis along which to pile the children. Accepted values are:

  • "horizontal"
  • "vertical"

Defaults to "vertical".

spacing

Set the spacing between children. The value should be a string that contains the value and a css unit (e.g. 10px).

ardesia-1's People

Contributors

dhmacs avatar mmarcon91 avatar

Watchers

Eliakah avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.