Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tkh44/glamorous-pseudo

Pseudo component to extend built-in GlamorousComponents
https://github.com/tkh44/glamorous-pseudo

Last synced: 22 days ago
JSON representation

Pseudo component to extend built-in GlamorousComponents

Awesome Lists containing this project

README

        

# glamorous-pseudo

[![npm version](https://badge.fury.io/js/glamorous-pseudo.svg)](https://badge.fury.io/js/glamorous-pseudo)
[![Build Status](https://travis-ci.org/tkh44/glamorous-pseudo.svg?branch=master)](https://travis-ci.org/tkh44/glamorous-pseudo)
[![codecov](https://codecov.io/gh/tkh44/glamorous-pseudo/branch/master/graph/badge.svg)](https://codecov.io/gh/tkh44/glamorous-pseudo)

- [Install](#install)
- [Basic Usage](#basic-usage)
- [Props](#props)

## Install

```bash
npm install -S glamorous-pseudo
```

## Basic Usage
```jsx

Hello

// Create your own ui library
const A = (props) =>


Startup

```

## Props

#### component `GlamorousComponent`

```jsx
glamorous.Div, glamorous.A, glamorous.Span, ...
```

*Any props passed to `Pseudo` will be passed through to `component`*

#### after `object`

`:after` styles

#### before `object`

`:before` styles

#### focus `object`

`:focus` styles

#### hover `object`

`:hover` styles

#### active `object`

`:active` styles

#### visited `object`

`:visited` styles