-
Notifications
You must be signed in to change notification settings - Fork 5
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
5 changed files
with
46 additions
and
1 deletion.
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 |
---|---|---|
|
@@ -6,5 +6,6 @@ | |
|
||
-cp src | ||
--macro include('mui.core', true) | ||
--macro include('mui.lab', true) | ||
-js .build/test.js | ||
|
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package mui.lab; | ||
|
||
import mui.lab.breadcrumbs.BreadcrumbsClassKey; | ||
|
||
typedef BreadcrumbsProps = { | ||
> StandardDOMAttributes, | ||
|
||
var children:ReactFragment; | ||
@:optional var classes:Record<BreadcrumbsClassKey>; | ||
@:optional var component:ReactType; | ||
@:optional var itemsAfterCollapse:Int; | ||
@:optional var itemsBeforeCollapse:Int; | ||
@:optional var maxItems:Int; | ||
@:optional var separator:ReactSingleFragment; | ||
} | ||
|
||
@:jsRequire('@material-ui/lab', 'Breadcrumbs') | ||
extern class Breadcrumbs extends ReactComponentOfProps<BreadcrumbsProps> {} |
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package mui.lab.breadcrumbs; | ||
|
||
@:enum abstract BreadcrumbsClassKey(String) to String { | ||
var Root = "root"; | ||
var Ol = "ol"; | ||
var Separator = "separator"; | ||
} |
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package mui.lab; | ||
|
||
#if !macro | ||
import js.html.Event; | ||
import js.html.HtmlElement; | ||
|
||
import react.Partial; | ||
import react.ReactComponent; | ||
import react.ReactRef; | ||
import react.ReactType; | ||
|
||
import react.types.CallbackOrVoid; | ||
import react.types.DOMAttributes; | ||
import react.types.DOMOrCallback; | ||
import react.types.ForcedOverride; | ||
import react.types.HandlerOrVoid; | ||
import react.types.Noise; | ||
import react.types.Record; | ||
#end |