7.22.1 • Published 8 days ago

@astrouxds/react v7.22.1

Weekly downloads
-
License
-
Repository
github
Last release
8 days ago

Installation

npm i @astrouxds/react

Import and Usage

First, import the css into either your index.js, app.js, or any CSS file you would like.

import '@astrouxds/astro-web-components/dist/astro-web-components/astro-web-components.css'

Next, Import any desired Astro components the same way you would any other React component.

import { RuxProgress } from '@astrouxds/react

You can now use astro-components as regular React components.

import React from 'react';

const MyComp = () => {
    return (
        <div>
            <RuxProgress />
        </div>
    )
}

export default MyComp;

Astro Stencil Components Docs

Docs for all components can be found at our Astro Stencil Storybook, and in our web-components package

Known Issues

  • CSS custom properties for our react-wrapped components are undefined out of the box, thus the necessity for the CSS import.
  • For using checkbox, push button, or switch onRuxchange events, you need to check for the checked prop:
            <RuxSwitch
          value="switch"
          onRuxchange={(e: React.ChangeEvent<HTMLRuxSwitchElement>) =>
            setSwitchVal(e.target.checked ? e.target.value : "")
          }
        />
7.22.1

8 days ago

7.22.0

25 days ago

7.21.0

2 months ago

7.20.0

5 months ago

7.18.0

6 months ago

7.19.1

6 months ago

7.19.0

6 months ago

7.15.1

10 months ago

7.17.0

8 months ago

7.15.2

9 months ago

7.15.0

10 months ago

7.17.1

7 months ago

7.16.0

9 months ago

7.14.0

10 months ago

7.13.0

11 months ago

7.12.0

11 months ago

7.11.0

12 months ago

7.9.3

1 year ago

7.10.0

1 year ago

7.8.0

1 year ago

7.9.2

1 year ago

7.9.1

1 year ago

7.9.0

1 year ago

7.6.0

1 year ago

7.7.0

1 year ago

7.5.0

1 year ago

7.3.0

1 year ago

7.1.1

2 years ago

7.1.0

2 years ago

7.4.0

1 year ago

7.2.0

1 year ago

7.0.0

2 years ago

7.0.2

2 years ago

7.0.1

2 years ago

6.14.0

2 years ago

7.0.0-rc.2

2 years ago

6.13.1

2 years ago

6.13.0

2 years ago

6.12.1

2 years ago

7.0.0-rc.1

2 years ago

6.12.0

2 years ago

6.11.0

2 years ago

6.10.0

2 years ago

6.9.0

2 years ago

6.8.0

2 years ago

6.9.1

2 years ago

7.0.0-beta.2

2 years ago

7.0.0-beta.3

2 years ago

6.7.0

2 years ago

6.6.0

2 years ago

7.0.0-beta.0

2 years ago

6.5.0

2 years ago

6.4.0

2 years ago

6.5.1

2 years ago

6.3.0

2 years ago

6.1.0

2 years ago

6.2.0

2 years ago

6.0.5

2 years ago

6.0.3

2 years ago

6.0.2

2 years ago

6.0.4

2 years ago

6.0.1

3 years ago

0.0.8

3 years ago

6.0.0

3 years ago

4.4.5

3 years ago

0.0.7

3 years ago

0.0.5

3 years ago

0.0.6

3 years ago

0.0.4

3 years ago