@davincihealthcare/elty-design-system-react-components
v1.13.4
Published
The "@davincihealthcare/elty-design-system-react-components" is a collection of reusable React components designed to simplify the development of user interfaces. This library can accept custom CSS class names or use Elty TaiwlindCSS [preset](https://gith
Downloads
4
Keywords
Readme
@davincihealthcare/elty-design-system-react-components
The "@davincihealthcare/elty-design-system-react-components" is a collection of reusable React components designed to simplify the development of user interfaces. This library can accept custom CSS class names or use Elty TaiwlindCSS preset styles.
Installation
To install the library, run the following command:
yarn add @davincihealthcare/elty-design-system-react-components
How to use
Here is an example of using the library with Elty preset:
import React from 'react';
import { ELButton } from '@davincihealthcare/elty-design-system-react-components';
function App() {
return (
<div>
<ELButton aria-label="simple click">click me</ELButton>
</div>
);
}
export default App;
or using with custom CSS class names:
import React from 'react';
import { ELButton } from '@davincihealthcare/elty-design-system-react-components';
function App() {
return (
<div>
<ELButton ariaLabel="simple click" className="btn btn--primary">
click me
</ELButton>
</div>
);
}
export default App;
Docs
For more information on using the components, see demo page.