Open
Conversation
devmentor-pl
approved these changes
Jan 11, 2024
Owner
devmentor-pl
left a comment
There was a problem hiding this comment.
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> |
| </Col> | ||
| <Col> | ||
| Card! | ||
| <Card/> |
| secondary: '#6c757d', | ||
| secondaryDark: '#545b62', | ||
| secondaryHover: '#5a6268', | ||
| }; |
|
|
||
| Breadcrumb.Item = BreadcrumbItem; | ||
|
|
||
| export default Breadcrumb; No newline at end of file |
| justify-content: flex-start; | ||
| `; | ||
|
|
||
| export { StyledBreadcrumb }; No newline at end of file |
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"> |
Owner
There was a problem hiding this comment.
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> |
| } | ||
| `; | ||
|
|
||
| export { StyledCard, CardImageTop, CardBody, CardTitle, CardText, Button }; No newline at end of file |
| ); | ||
| }; | ||
|
|
||
| export default Tabs; No newline at end of file |
| border-top: none; | ||
| `; | ||
|
|
||
| export { TabsContainer, TabList, TabButton, TabContent }; No newline at end of file |
devmentor-pl
approved these changes
Jan 11, 2024
Owner
devmentor-pl
left a comment
There was a problem hiding this comment.
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> |
| className={active ? "active" : ""} | ||
| onClick={handleClick} | ||
| className={`${active ? "active" : ""} ${disabled ? "disabled" : ""}`} | ||
| disabled={disabled} |
|
|
||
| const Tabs = ({ children }) => { | ||
| const [activeTab, setActiveTab] = useState(children[0].props.label); | ||
| const [activeTab, setActiveTab] = useState('Profile'); |
| &.disabled { | ||
| color: #6c757d; | ||
| cursor: default; | ||
| } |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.