1.0.3 • Published 4 years ago

animasugitjs v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

AnimasugitJS

Next provides some basic components but they were not enough for me and were causing code repetition. This is a library for all the code snippets that I might use for projects involving Next.js and Typescript.

📦 Installation

This package is hosted on npm.

npm install animasugitjs

🥑 Usage

<Link>

import { Link } from 'animasugitjs';

const App = () => {
    return <Link href="https://animasugit.com">website</Link>;
};

<Dropdown>

import { Dropdown } from 'animasugitjs';

const App = () => {
    return (
        <Dropdown
            value={country}
            setValue={setCountry}
            placeholder="Country"
            options={[
                { value: 'India', label: 'India' },
                { value: 'USA', label: 'USA' },
                { value: 'UK', label: 'UK' },
                { value: 'Australia', label: 'Australia' },
            ]}
        />
    );
};
1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago