This package has been deprecated

Author message:

This package has moved to a new scope. Please install '@ui5-webcomponents-react/utils'.

@fiori-for-react/utils
TypeScript icon, indicating that this package has built-in type declarations

0.3.0 • Public • Published

@fiori-for-react/utils

Helper Utils for fiori-for-react

Installation

yarn add @fiori-for-react/utils
OR
npm install @fiori-for-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 '@fiori-for-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.

Readme

Keywords

none

Package Sidebar

Install

npm i @fiori-for-react/utils

Weekly Downloads

0

Version

0.3.0

License

Apache-2.0

Unpacked Size

199 kB

Total Files

30

Last publish

Collaborators

  • marcusnotheis