1.1.9 • Published 11 months ago

preact-css-styled v1.1.9

Weekly downloads
95
License
MIT
Repository
github
Last release
11 months ago

preact-css-styled 👋 npm version

This component is a lightweight, simple line style component.

Installation

npm install preact-css-styled

How to use

import styled from "preact-css-styled";

const Styler = styled("div", `
{
  border-radius: 50%;
}
* {
  width: 100%;
  height: 100%;
}
:host div {
  position: relative;
}
`);

render() {
  return (<Styler className="">
    <div></div>
  </Styler>);
}

Development

npm start

Runs the app in the development mode. Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits. You will also see any lint errors in the console.

License

MIT License

Copyright (c) 2019 Daybrush
1.1.9

11 months ago

1.1.8

11 months ago

1.1.7

12 months ago

1.1.6

12 months ago

1.1.5

12 months ago

1.1.4

12 months ago

1.1.3

12 months ago

1.1.1

1 year ago

1.1.0

1 year ago

1.1.2

1 year ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

4 years ago

0.3.0

4 years ago

0.2.2

4 years ago

0.2.1

4 years ago

0.2.0

4 years ago

0.1.3

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago