Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/tkh44/glamorous-pseudo
- Owner: tkh44
- License: mit
- Created: 2017-06-14T04:13:03.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-06-14T15:53:40.000Z (over 7 years ago)
- Last Synced: 2024-04-25T23:21:24.964Z (6 months ago)
- Language: JavaScript
- Size: 43 KB
- Stars: 14
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
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) =>```
## 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