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 1
1
# useCustomElement React Hook
2
2
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 )
4
4
5
5
Custom hook to bridge Custom Elements (Web Components) to React.
6
6
@@ -19,7 +19,7 @@ import React from 'react';
19
19
// install via npm install road-dropdown
20
20
import 'road-dropdown';
21
21
22
- import customElementProps from 'use-custom-element';
22
+ import useCustomElement from 'use-custom-element';
23
23
24
24
const Dropdown = props => {
25
25
const [customElementProps, ref] = useCustomElement(props);
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " use-custom-element" ,
3
- "version" : " 1.0.0 " ,
3
+ "version" : " 1.0.1 " ,
4
4
"description" : " " ,
5
5
"main" : " lib/index.js" ,
6
6
"scripts" : {
You can’t perform that action at this time.
0 commit comments