1.2.5 • Published 10 months ago
osmosys-ui v1.2.5
Getting started
Implementing a button
1. Install the package
yarn add osmosys-ui
2. Use the component
// App.tsx
import React, { useEffect, useState } from 'react';
import { loadFonts } from 'osmosys-ui';
export default function App() {
// Add these lines in your main file to properly import the fonts
const [isLoadingComplete, setLoadingComplete] = useState(false);
useEffect(() => {
(async () => {
await loadFonts(setLoadingComplete);
})();
}, []);
if (!isLoadingComplete) {
return null;
}
return <Main />;
}
1.2.0
11 months ago
1.1.9
12 months ago
1.1.8
12 months ago
1.1.7
12 months ago
1.2.5
10 months ago
1.1.6
12 months ago
1.2.4
10 months ago
1.1.5
12 months ago
1.2.3
11 months ago
1.2.2
11 months ago
1.2.1
11 months ago
1.1.91
12 months ago
1.1.61
12 months ago
1.1.4
12 months ago
1.1.3
12 months ago
1.1.2
12 months ago
1.1.1
12 months ago
1.1.0
1 year ago
1.0.12
1 year ago
1.0.11
1 year ago
1.0.10
1 year ago
1.0.9
1 year ago
1.0.8
1 year ago
1.0.7
1 year ago
1.0.6
1 year ago
1.0.5
1 year ago
1.0.4
1 year ago
1.0.3
1 year ago
1.0.2
1 year ago
1.0.1
1 year ago
1.0.0
1 year ago