1.2.1 • Published 2 years ago

decorate-component-with-props v1.2.1

Weekly downloads
38,857
License
MIT
Repository
github
Last release
2 years ago

A simple function to decorate your component with miscellaneous props:

Example:

import decorateComponentWithProps from 'decorate-component-with-props';

const props = {
  wine: 'red',
  beer: 'ipa',
  food: 'spaghetti',
};

MyDecoratedComponent = decorateComponentWithProps(MyComponent, props);

// MyDecoratedComponent will now be decorated with these props
@plone/volto@teamkitten/draft-js-markdown-shortcuts-plugin@rrott/draft-js-markdown-pluginwps-driver-reactnotion-draft-js-inline-toolbar-pluginnotion-draft-js-plugins-editordraft-js-alignment-agavedraft-js-resizeable-agave@everything-registry/sub-chunk-1459last-draft-js-sidebar-pluginlast-draft-js-toolbar-pluginkaneoh-draft-js-checkbox-pluginkaneoh-draft-js-image-pluginkaneoh-draft-js-inline-toolbar-pluginkaneoh-draft-js-linkify-pluginkaneoh-draft-js-mention-pluginkaneoh-draft-js-mention-user-pluginkaneoh-draft-js-pluginskaneoh-draft-js-plugins-editorkaneoh-draft-js-side-toolbar-pluginkenoh-draft-js-plugins-editorgustavochavarria-draft-js-resizeable-pluginhztianxu-draft-js-pluginsmeep-draft-editormilliar-toolbar-pluginmomentech-viewmonograph@samtoday/draft-js-inline-toolbar-plugin@samtoday/draft-js-mention-plugin@rld2018/draft-js-mention-plugin@scofield5658/draft-js-plugins-editor@stevoland/draft-js-mention-plugin@poltak/draft-js-dnd-plugin@stream7/draft-js-emoji-plugin@styks1987/draft-js-inline-toolbar-plugin@sugarshin/draft-js-emoji-plugin@sugarshin/draft-js-mention-plugin@rpdobson123/draft-js-emoji-plugin@softwarehut/draft-js-mention-pluginworknet-draft-js-resizeable-pluginworknet-draft-js-video-pluginplugined-draft-js-editorqhc_job_uitextio-draft-js-plugins-editorteachable-marketingreact-draft-js-inline-toolbar-pluginquirationequisporroreact-render-order-fixerryanmcclure4-draft-js-emoji-pluginstevensacks-draft-js-mention-plugin@canopytax/draft-js-resizeable-plugin111-draft-js-alignment-plugin111-draft-js-image-plugin@alexkuz/draft-js-mention-plugin@aizatto/draft-js-markdown-plugin@mathieumg/draft-js-mention-plugin@makeflow/draft-js-plugins-editor@livechat/draft-js-markdown-plugin@mikeljames/draft-js-drag-n-drop-upload-plugin@mikeljames/draft-js-video-plugin@iwano/draft-js-mention-plugin@jimmycode/draft-js-giphy-plugin@jimmycode/draft-js-iframely-plugin@jimmycode/draft-js-select-image-plugin@jimmycode/draft-js-unsplash-plugin@jonny/draft-js-plugins-editor@jonny/draft-js-richbuttons-plugin@kustomer/draft-js-response-plugin@mi6gan/draft-js-static-toolbar-plugin@datatiger/draft-js-emoji-plugin@dino115/draft-js-markdown-plugin@dan-weaver/draft-js-mention-plugin@bluenove/draft-js-attachment-plugin@bluenove/draft-js-link-plugin@bufferapp/publish-composer@bufferapp/draft-js-plugins-editor@bufferapp/draft-js-emoji-plugin@bufferapp/draft-js-mention-plugin@bufferapp/composer@contentkit/editor@contentkit/focus@contentkit/plugins@cusxio/draft-js-markdown-plugin@naytev/draft-js-emoji-plugin@naytev/draft-js-mention-plugin@next-interactive/draft-js-inline-toolbar-plugin@next-interactive/draft-js-side-toolbar-plugin@fellow/draft-js-inline-toolbar-plugin@fellow/draft-js-mention-pluginfs-editorgateway-draft-js-mention-pluginbat-draft-js-mention-pluginbj-draft-js-dnd-plugincus-draft-js-mention-plugincut2it-rtedjip-testdft-testdraft-cljsdraft-js-fb-emoji-plugin
1.2.1

2 years ago

1.1.0

7 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago