Skip to content

Conversation

@yuberdysheva
Copy link
Contributor

No description provided.

@gravity-ui-bot
Copy link
Contributor

Preview is ready.

@yuberdysheva yuberdysheva force-pushed the yuberdysheva/navigation-without-border branch from 42fe2d7 to 869f9af Compare June 1, 2023 10:18
@yuberdysheva yuberdysheva changed the base branch from main to update-header-and-navigation June 1, 2023 10:18
component: PageConstructor,
} as Meta;

const DefaultTemplate: Story<PageConstructorProps> = (args) => <PageConstructor {...args} />;
Copy link
Collaborator

Choose a reason for hiding this comment

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

If this story is about navigation, then maybe you need to show the navigation's props only, and make the rest of the page unchanged?

const DefaultTemplate: Story<NavigatinProps> = (args) => <PageConstructor {..._.omit(data, 'navigation')} {...args} />;

for example:

DefaultNavigation.args = data.navigation as NavigationProps;

@yuberdysheva yuberdysheva merged commit 448f155 into update-header-and-navigation Jun 1, 2023
@yuberdysheva yuberdysheva deleted the yuberdysheva/navigation-without-border branch June 1, 2023 11:22
yuberdysheva pushed a commit that referenced this pull request Jun 13, 2023
* feat(Header): update indents (#368)

* feat(navigation): add prop withBorder by default (#363)

---------

Co-authored-by: Aleksandra Pleshcheva <46083995+aeksandla@users.noreply.github.com>
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