Skip to content

Commit

Permalink
update types to include editable. Bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
shettypuneeth committed Jan 4, 2022
1 parent ef5cc26 commit f472f58
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@ declare module 'react-codepen-embed' {
*/
defaultTab?: string;

/**
* Make code editable
* @default 'false'
*/
editable?: boolean;

/**
* Theme for the pen
* @default 'dark'
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"react",
"codepen"
],
"version": "1.0.1",
"version": "1.1.0",
"description": "React component to embed codepen project",
"main": "lib/index.js",
"repository": {
Expand Down

0 comments on commit f472f58

Please sign in to comment.