appliedx
TypeScript icon, indicating that this package has built-in type declarations

0.1.13 • Public • Published

appliedx

Made with create-react-library

NPM JavaScript Style Guide

Install

npm install --save appliedx

Usage

import React, { Component } from 'react'
 
import MyComponent from 'appliedx'
import 'appliedx/dist/index.css'
export const Default = () => {
  const delay = text("Delay", 1000);
  const includeDays = boolean("Include Days", false);
  const countFontSize = number("Count Font Size (rems)", 2);
  const expiryTime = object("expiryTime", {
    days: 0,
    hours: 15,
    minutes: 34,
    seconds: 55
  });
  const align = select(
    "Align",
    ["flex-start", "flex-end", "center", "baseline", "stretch"],
    "center"
  );
  return (
    <CountdownTimer
      delay={delay}
      countFontSize={countFontSize}
      includeDays={includeDays}
      expiryTime={expiryTime}
      align={align}
    />
  );
};

License

MIT © aamirbhat

Readme

Keywords

none

Package Sidebar

Install

npm i appliedx

Weekly Downloads

14

Version

0.1.13

License

MIT

Unpacked Size

318 kB

Total Files

32

Last publish

Collaborators

  • npmtx