Skip to content

elinaKM/cloveruicomponents

Repository files navigation

cloveruicomponents

UI components library for dummy Clover brand that created as a part of the WEB programimg learning process

NPM JavaScript Style Guide

Install

npm install --save cloveruicomponents

Components

  • ToggleButton Properties: onClick, fontSize, children, theme

  • BasicButton Properties: size - normal/large, onClick, children, theme

  • GameIcon Properties: size - normal/small, blendMode, position, src, alt, theme

  • LabeledTextField Properties: label, type, id, placeholder, value, onChange, fontSize, theme

  • Logo Properties: text, icon, iconAriaLabel, fontSize, spaceSize, theme

  • Loading Properties: theme

  • Marquee Properties: theme, fontSize, children

Storybook

To watch the components in action, visit our Storybook

Usage

import React from 'react';
import styled, { css} from 'styled-components';

import {CloverToggleButton} from 'cloveruicomponents';

class Example extends Component {
  render () {
    return (
	  <CloverToggleButton clickHandler={handler} sizeOfFont="40px">Play</CloverToggleButton>
    )
  }
}

License

none © elinaKM

About

Library for UI components

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published