Skip to content
This repository has been archived by the owner on Apr 5, 2023. It is now read-only.

A React component library by Doddy Digital Design.

Notifications You must be signed in to change notification settings

doddydigitaldesign/ddd-react-core

Repository files navigation

CI

ddd-react-core

A React component library by Doddy Digital Design

Demo / Docs

Visit page

Install

npm i ddd-react-core

Use

import { Button } from "ddd-react-core";
import { useState } from "react";
export const Counter = (props: Props) => {
    const [count, setCount] = useState(0);

    return (
        <Grid>
            <Row>
                <Button onClick={() => setCount((val) => val + 1)}>
                    Increment
                </Button>
                <Text type={"numeric"}>{count}</Text>
            </Row>
        </Grid>
    );
};

Run demo locally

  1. Clone the repo:
   git clone https://github.com/doddydigitaldesign/ddd-react-core.git
  1. Change working directory:
cd ddd-react-core
  1. Install dependencies:
npm ci
  1. Run demo in a new browser tab:
npm start

About

A React component library by Doddy Digital Design.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published