-
Notifications
You must be signed in to change notification settings - Fork 264
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
54 changed files
with
847 additions
and
326 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
MDB 5 React | ||
|
||
Version: FREE 4.2.0 | ||
Version: FREE 5.0.0 | ||
|
||
Documentation: | ||
https://mdbootstrap.com/docs/b5/react/ | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,20 @@ | ||
import React from "react"; | ||
import { MDBBtn, MDBContainer, MDBIcon } from "mdb-react-ui-kit"; | ||
function App() { | ||
import { | ||
MDBDropdown, | ||
MDBDropdownMenu, | ||
MDBDropdownToggle, | ||
MDBDropdownItem, | ||
} from "mdb-react-ui-kit"; | ||
|
||
export default function App() { | ||
return ( | ||
<MDBContainer fluid> | ||
<div | ||
className="d-flex justify-content-center align-items-center" | ||
style={{ height: "100vh" }} | ||
> | ||
<div className="text-center"> | ||
<img | ||
className="mb-4" | ||
src="https://mdbootstrap.com/img/logo/mdb-transparent-250px.png" | ||
style={{ width: 250, height: 90 }} | ||
/> | ||
<h5 className="mb-3"> | ||
Thank you for using our product. We're glad you're with us. | ||
</h5> | ||
<p className="mb-3">MDB Team</p> | ||
<MDBBtn | ||
tag="a" | ||
href="https://mdbootstrap.com/docs/standard/getting-started/" | ||
target="_blank" | ||
role="button" | ||
> | ||
Start MDB tutorial | ||
</MDBBtn> | ||
<p className="mt-4"> | ||
<a href="https://mdbootstrap.com/sale/free/"> | ||
<MDBIcon far icon="surprise" size="lg" /> Free users buy cheaper | ||
..{" "} | ||
</a> | ||
</p> | ||
</div> | ||
</div> | ||
</MDBContainer> | ||
<MDBDropdown> | ||
<MDBDropdownToggle>Dropdown button</MDBDropdownToggle> | ||
<MDBDropdownMenu> | ||
<MDBDropdownItem>Action</MDBDropdownItem> | ||
<MDBDropdownItem>Another action</MDBDropdownItem> | ||
<MDBDropdownItem>Something else here</MDBDropdownItem> | ||
</MDBDropdownMenu> | ||
</MDBDropdown> | ||
); | ||
} | ||
export default App; |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
import React from 'react'; | ||
import { ImgHTMLAttributes, VideoHTMLAttributes } from 'react'; | ||
|
||
type CarouselItemProps = { | ||
className?: string; | ||
interval?: number; | ||
type ImgVideo = ImgHTMLAttributes<HTMLImageElement> & VideoHTMLAttributes<HTMLVideoElement>; | ||
|
||
type CarouselItemProps = ImgVideo & { | ||
captionClassName?: string; | ||
itemId: number; | ||
tag?: React.ComponentProps<any>; | ||
[rest: string]: any; | ||
video?: boolean; | ||
}; | ||
|
||
export { CarouselItemProps }; |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,15 @@ | ||
import React from 'react'; | ||
import { BaseComponent } from "../../types/baseComponent"; | ||
|
||
type CarouselProps = { | ||
className?: string; | ||
interface CarouselProps extends BaseComponent { | ||
dark?: boolean; | ||
fade?: boolean; | ||
interval?: number; | ||
keyboard?: boolean; | ||
onSlide?: () => any; | ||
onSlide?: () => void; | ||
pause?: boolean; | ||
showControls?: boolean; | ||
showIndicators?: boolean; | ||
touch?: boolean; | ||
tag?: React.ComponentProps<any>; | ||
[rest: string]: any; | ||
}; | ||
} | ||
|
||
export { CarouselProps }; |
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.