1.2.8 • Published 9 months ago

osmosys-ui v1.2.8

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

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.8

9 months ago

1.2.7

9 months ago

1.2.6

9 months ago

1.2.0

2 years ago

1.1.9

2 years ago

1.1.8

2 years ago

1.1.7

2 years ago

1.2.5

2 years ago

1.1.6

2 years ago

1.2.4

2 years ago

1.1.5

2 years ago

1.2.3

2 years ago

1.2.2

2 years ago

1.2.1

2 years ago

1.1.91

2 years ago

1.1.61

2 years ago

1.1.4

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.12

2 years ago

1.0.11

2 years ago

1.0.10

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago