react-text-spinners
Advanced tools
Comparing version
{ | ||
"name": "react-text-spinners", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "text-spinners as a React component", | ||
@@ -15,4 +15,4 @@ "author": "j127", | ||
"scripts": { | ||
"build": "microbundle-crl --no-compress --format modern,cjs", | ||
"start": "microbundle-crl watch --no-compress --format modern,cjs", | ||
"build": "microbundle-crl --no-compress --format modern,cjs --css-modules-false", | ||
"start": "microbundle-crl watch --no-compress --format modern,cjs --css-modules-false", | ||
"prepare": "run-s build", | ||
@@ -27,3 +27,3 @@ "test": "run-s test:unit test:lint test:build", | ||
"examples:deploy": "npm run examples:build && netlify deploy --dir=build --prod", | ||
"publish:npm": "rm -rf dist && npm run build" | ||
"publish:npm": "rm -rf dist && npm run build && npm publish" | ||
}, | ||
@@ -34,2 +34,9 @@ "private": false, | ||
}, | ||
"keywords": [ | ||
"react", | ||
"spinners", | ||
"css", | ||
"text spinners", | ||
"typescript" | ||
], | ||
"devDependencies": { | ||
@@ -36,0 +43,0 @@ "@testing-library/jest-dom": "^4.2.4", |
# react-text-spinners | ||
**WORK IN PROGRESS** | ||
This package wraps up [text-spinners](https://github.com/maxbeier/text-spinners) as an installable React component. View the examples [here](https://react-text-spinners.codeselfstudy.com/). | ||
@@ -33,3 +31,3 @@ | ||
const [isLoading, setIsLoading] = useState(true); | ||
const [message, setMessage] = useState(null); | ||
const [message, setMessage] = useState(""); | ||
@@ -36,0 +34,0 @@ useEffect(() => { |
19469
0.8%50
-3.85%