0.3.2-rc.0 • Published 5 years ago

@ui5-webcomponents-react/utils v0.3.2-rc.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
5 years ago

@ui5-webcomponents-react/utils

Helper Utils for ui5-webcomponents-react

Installation

yarn add @ui5-webcomponents-react/utils
OR
npm install @ui5-webcomponents-react/utils --save

Modules

StyleClassHelper

Concat multiple CSS Module into an instance of this class helper and place them into a react component. Example:

import { StyleClassHelper } from '@ui5-webcomponents-react/utils';
import style from 'YOUR_STYLESHEET';

const classes = new StyleClassHelper.of(style.text);
classes.put(style.anotherClass);
classes.put(style.thirdClass)

const MyComponent = props => (
  <div className={classes}>
    My Component
  </div>
);

export default MyComponent;

Contribute

Please check our Contribution Guidelines.

License

Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, Version 2.0 except as noted otherwise in the LICENSE file.

0.3.2-rc.2

5 years ago

0.3.2-rc.1

5 years ago

0.3.2-rc.0

5 years ago