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

feat: refactor Stories component #216

Closed
wants to merge 1 commit into from

Conversation

bityutskiyAO
Copy link

Refactor Stories component according to the new design

  • Add props for manage story style:

    • textBlockStyle
    • mediaBlockStyle
    • textStyles
    • firstAction and secondAction button props
  • Change navigation buttons position (back and next)

@gravity-ui-bot
Copy link
Contributor

Preview is ready.

@bityutskiyAO bityutskiyAO changed the title Refactor stories component Refactor Stories component Sep 4, 2024
@bityutskiyAO bityutskiyAO changed the title Refactor Stories component feat: refactor Stories component Sep 10, 2024
@@ -26,7 +25,6 @@ export interface StoriesProps {
onNextClick?: (storyIndex: number) => void;
disableOutsideClick?: boolean;
className?: string;
action?: StoriesLayoutProps['action'];
Copy link
Contributor

Choose a reason for hiding this comment

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

This is breaking change

@bityutskiyAO bityutskiyAO force-pushed the refactor-stories-component branch from 5455985 to 6f68166 Compare September 23, 2024 10:40
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.

3 participants