Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maryia/TS-Package-7/add types for SmartCharts components #46

Conversation

maryia-deriv
Copy link
Collaborator

@maryia-deriv maryia-deriv commented Dec 4, 2023

Changes:

  • to add types for SmartCharts components
Screenshot 2023-12-04 at 5 30 58 PM

@maryia-deriv maryia-deriv changed the base branch from master to kate/DTRA-420/ts_migration_7 December 4, 2023 14:10
export const StudyLegend = React.lazy(load('StudyLegend'));
export const Views = React.lazy(load('Views'));
export const ToolbarWidget = React.lazy(load('ToolbarWidget'));
export const FastMarker = React.lazy(load('FastMarker'));
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removed export const RawMarker = React.lazy(load('RawMarker')); since it doesn't exist in flutter-chart branch of SmartCharts and not used here anymore.

portalNodeId?: string;
};

type TSmartChartProps = React.PropsWithChildren<{
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

type TNotification = {
category: string;
text: string;
type?: 'info' | 'warning' | 'success' | 'error' | 'warning';

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

extra 'warning'

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will merge this PR into the parent branch and will remove extra 'warning'

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you @kate-deriv :)

@kate-deriv kate-deriv merged commit b814d0c into kate-deriv:kate/DTRA-420/ts_migration_7 Dec 5, 2023
0 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants