-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2138 from plotly/master-2.6.0
Master 2.6.0
- Loading branch information
Showing
118 changed files
with
7,431 additions
and
6,162 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
@plotly/dash-generator-test-component-typescript/src/components/EmptyComponent.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import React from 'react'; | ||
|
||
const EmptyComponent = () => <div>Empty</div>; | ||
|
||
export default EmptyComponent; |
8 changes: 8 additions & 0 deletions
8
@plotly/dash-generator-test-component-typescript/src/components/FCComponent.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import React from 'react'; | ||
import { TypescriptComponentProps } from '../props'; | ||
|
||
const FCComponent: React.FC<TypescriptComponentProps> = (props) => ( | ||
<div>{props.children}</div> | ||
); | ||
|
||
export default FCComponent; |
19 changes: 19 additions & 0 deletions
19
@plotly/dash-generator-test-component-typescript/src/components/MixedComponent.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import PropTypes from 'prop-types'; | ||
import React from 'react'; | ||
|
||
type Props = { | ||
id?: string; | ||
prop: string[]; | ||
} | ||
|
||
const MixedComponent: React.FC<Props> = (props) => { | ||
return ( | ||
<div id={props.id}>{props.children}</div> | ||
) | ||
} | ||
|
||
MixedComponent.propTypes = { | ||
prop: PropTypes.arrayOf(PropTypes.string).isRequired | ||
} | ||
|
||
export default MixedComponent; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"presets": [ | ||
["@babel/preset-env", { "exclude": ["proposal-dynamic-import"] }], | ||
"@babel/preset-react" | ||
], | ||
} |
Oops, something went wrong.