Skip to content

inkOfPixel/ardesia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

d2a0751 · Jun 24, 2016
May 24, 2016
Jun 24, 2016
May 23, 2016
May 23, 2016
Jun 24, 2016
May 24, 2016
May 11, 2016
May 7, 2016
May 10, 2016
Jun 23, 2016
May 23, 2016
May 17, 2016
Mar 16, 2016
May 21, 2016
May 21, 2016
May 24, 2016

Repository files navigation

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).

About

awesome reusable react components.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages