with-alpha-hex
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "with-alpha-hex", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "A tiny TypeScript/JavaScript library which helps change/add alpha(opacity) of a css hexadecimal color.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -23,3 +23,3 @@ # with-alpha-hex | ||
## Styled-JSX Example | ||
```jsx | ||
```tsx | ||
import { withAlphaHex } from 'with-alpha-hex' | ||
@@ -29,5 +29,5 @@ | ||
export const RandomComponent = () => { | ||
const RandomComponent = () => { | ||
return ( | ||
<> | ||
<div> | ||
<p className="random-text">{text}</p> | ||
@@ -44,3 +44,3 @@ <style jsx>{` | ||
`}</style> | ||
</> | ||
</div> | ||
) | ||
@@ -47,0 +47,0 @@ } |
8594