generated from layer5io/layer5-repo-template
-
Notifications
You must be signed in to change notification settings - Fork 127
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #923 from amitamrutiya/add-comp
Add missing components that are present in meshery ui and extensions
- Loading branch information
Showing
48 changed files
with
326 additions
and
55 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,8 @@ | ||
import { Alert as MuiAlert, AlertProps as MuiAlertProps } from '@mui/material'; | ||
import React from 'react'; | ||
|
||
export const Alert = React.forwardRef<HTMLDivElement, MuiAlertProps>((props, ref) => { | ||
return <MuiAlert ref={ref} {...props} />; | ||
}); | ||
|
||
export default Alert; |
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 @@ | ||
export { Alert } from './Alert'; |
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,20 @@ | ||
import { | ||
Autocomplete as MuiAutocomplete, | ||
AutocompleteProps as MuiAutocompleteProps | ||
} from '@mui/material'; | ||
import React from 'react'; | ||
|
||
export type AutocompleteProps< | ||
T, | ||
Multiple extends boolean = false, | ||
DisableClearable extends boolean = false, | ||
FreeSolo extends boolean = false | ||
> = MuiAutocompleteProps<T, Multiple, DisableClearable, FreeSolo>; | ||
|
||
export const Autocomplete = React.forwardRef<HTMLDivElement, AutocompleteProps<unknown>>( | ||
(props, ref) => { | ||
return <MuiAutocomplete {...props} ref={ref} />; | ||
} | ||
); | ||
|
||
export default Autocomplete; |
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 @@ | ||
export { Autocomplete } from './Autocomplete'; |
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,8 @@ | ||
import { Fab as MuiFab, FabProps as MuiFabProps } from '@mui/material'; | ||
import React from 'react'; | ||
|
||
export const Fab = React.forwardRef<HTMLButtonElement, MuiFabProps>((props, ref) => ( | ||
<MuiFab {...props} ref={ref} /> | ||
)); | ||
|
||
export default Fab; |
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 @@ | ||
export { Fab } from './Fab'; |
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,8 @@ | ||
import { Fade as MuiFade, FadeProps as MuiFadeProps } from '@mui/material'; | ||
import React from 'react'; | ||
|
||
export const Fade = React.forwardRef<HTMLDivElement, MuiFadeProps>((props, ref) => { | ||
return <MuiFade ref={ref} {...props} />; | ||
}); | ||
|
||
export default Fade; |
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 @@ | ||
export { Fade } from './Fade'; |
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,8 @@ | ||
import { Hidden as MuiHidden, HiddenProps as MuiHiddenProps } from '@mui/material'; | ||
import React from 'react'; | ||
|
||
export const Hidden = React.forwardRef<HTMLDivElement, MuiHiddenProps>((props, ref) => { | ||
return React.cloneElement(<MuiHidden {...props} />, { ref }); | ||
}); | ||
|
||
export default Hidden; |
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 @@ | ||
export { Hidden } from './Hidden'; |
Oops, something went wrong.