File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 11# useCustomElement React Hook
22
3- [ ![ Build Status] ( https://travis-ci.org/the-road-to-learn-react/use-custom-element.svg?branch=master )] ( https://travis-ci.org/the-road-to-learn-react/use-custom-element ) [ ![ Slack] ( https://slack-the-road-to-learn-react.wieruch.com/badge.svg )] ( https://slack-the-road-to-learn-react.wieruch.com/ ) [ ![ Greenkeeper badge] ( https://badges.greenkeeper.io/the-road-to-learn-react/use-custom-element.svg )] ( https://greenkeeper.io/ ) [ ![ Coverage Status ] ( https://coveralls.io/repos/github/the-road-to-learn-react/use-custom-element/badge.svg?branch=master )] ( https://coveralls.io/github/the-road-to-learn-react/use-custom-element?branch=master ) ![ NPM] ( https://img.shields.io/npm/l/use-custom-element.svg )
3+ [ ![ Build Status] ( https://travis-ci.org/the-road-to-learn-react/use-custom-element.svg?branch=master )] ( https://travis-ci.org/the-road-to-learn-react/use-custom-element ) [ ![ Slack] ( https://slack-the-road-to-learn-react.wieruch.com/badge.svg )] ( https://slack-the-road-to-learn-react.wieruch.com/ ) [ ![ Greenkeeper badge] ( https://badges.greenkeeper.io/the-road-to-learn-react/use-custom-element.svg )] ( https://greenkeeper.io/ ) ![ NPM] ( https://img.shields.io/npm/l/use-custom-element.svg )
44
55Custom hook to bridge Custom Elements (Web Components) to React.
66
@@ -19,7 +19,7 @@ import React from 'react';
1919// install via npm install road-dropdown
2020import 'road-dropdown';
2121
22- import customElementProps from 'use-custom-element';
22+ import useCustomElement from 'use-custom-element';
2323
2424const Dropdown = props => {
2525 const [customElementProps, ref] = useCustomElement(props);
Original file line number Diff line number Diff line change 11{
22 "name" : " use-custom-element" ,
3- "version" : " 1.0.0 " ,
3+ "version" : " 1.0.1 " ,
44 "description" : " " ,
55 "main" : " lib/index.js" ,
66 "scripts" : {
You can’t perform that action at this time.
0 commit comments