Skip to content

Finish#54

Open
Kaczupinko wants to merge 7 commits intodevmentor-pl:masterfrom
Kaczupinko:master
Open

Finish#54
Kaczupinko wants to merge 7 commits intodevmentor-pl:masterfrom
Kaczupinko:master

Conversation

@Kaczupinko
Copy link

No description provided.

Copy link
Owner

@devmentor-pl devmentor-pl left a comment

Choose a reason for hiding this comment

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

Radku,

Całość prezentuje się jak trzeba! 👍
Zabrakło mi drobnych funckolanlności w zadaniu z Tabs :P

Library
</Breadcrumb.Item>
<Breadcrumb.Item active>Data</Breadcrumb.Item>
</Breadcrumb>
Copy link
Owner

Choose a reason for hiding this comment

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

👍

</Col>
<Col>
Card!
<Card/>
Copy link
Owner

Choose a reason for hiding this comment

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

👍

secondary: '#6c757d',
secondaryDark: '#545b62',
secondaryHover: '#5a6268',
};
Copy link
Owner

Choose a reason for hiding this comment

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

👍


Breadcrumb.Item = BreadcrumbItem;

export default Breadcrumb; No newline at end of file
Copy link
Owner

Choose a reason for hiding this comment

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

👍

justify-content: flex-start;
`;

export { StyledBreadcrumb }; No newline at end of file
Copy link
Owner

Choose a reason for hiding this comment

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

👍

04/Task04.js Outdated
<Tab label="Home">
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur condimentum lacus nec ligula faucibus rhoncus. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; </p>
</Tab>
<Tab label="Profile">
Copy link
Owner

Choose a reason for hiding this comment

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

Ten maiłby zaznaczony w pierwszej kolejności :P

<Tab label="Profile">
<p>Donec dignissim ultricies felis, eu dictum eros congue in. In gravida lobortis libero nec tempus. Cras rutrum nisl ut leo volutpat rhoncus. Nulla massa nulla, viverra hendrerit laoreet at, tincidunt eu lacus.</p>
</Tab>
<Tab label="Contact" disabled>
Copy link
Owner

Choose a reason for hiding this comment

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

Ten miał być nieklikany :P

}
`;

export { StyledCard, CardImageTop, CardBody, CardTitle, CardText, Button }; No newline at end of file
Copy link
Owner

Choose a reason for hiding this comment

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

👍

);
};

export default Tabs; No newline at end of file
Copy link
Owner

Choose a reason for hiding this comment

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

👍

border-top: none;
`;

export { TabsContainer, TabList, TabButton, TabContent }; No newline at end of file
Copy link
Owner

Choose a reason for hiding this comment

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

👍

Copy link
Owner

@devmentor-pl devmentor-pl left a comment

Choose a reason for hiding this comment

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

Radku,

Super, o to chodziło! :)

<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur condimentum lacus nec ligula faucibus rhoncus. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; </p>
</Tab>
<Tab label="Profile">
<Tab label="Profile" active>
Copy link
Owner

Choose a reason for hiding this comment

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

👍

className={active ? "active" : ""}
onClick={handleClick}
className={`${active ? "active" : ""} ${disabled ? "disabled" : ""}`}
disabled={disabled}
Copy link
Owner

Choose a reason for hiding this comment

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

👍


const Tabs = ({ children }) => {
const [activeTab, setActiveTab] = useState(children[0].props.label);
const [activeTab, setActiveTab] = useState('Profile');
Copy link
Owner

Choose a reason for hiding this comment

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

👍

&.disabled {
color: #6c757d;
cursor: default;
}
Copy link
Owner

Choose a reason for hiding this comment

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

👍

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.

2 participants

Comments