appliedx

Made with create-react-library

Usage no npm install needed!

<script type="module">
  import appliedx from 'https://cdn.skypack.dev/appliedx';
</script>

README

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