generated from layer5io/layer5-repo-template
-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(components): refactor components
Signed-off-by: Antonette Caldwell <[email protected]>
- Loading branch information
1 parent
2a7ef62
commit 5b90831
Showing
72 changed files
with
232 additions
and
718 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
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,4 +1,4 @@ | ||
import { Accordion as MuiAccordion, type AccordionProps } from '@mui/material'; | ||
export function Accordion(props: AccordionProps) { | ||
export function Accordion(props: AccordionProps): JSX.Element { | ||
return <MuiAccordion {...props} />; | ||
} |
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,5 +1,5 @@ | ||
import { AccordionActions as MuiAccordionActions, type AccordionActionsProps } from '@mui/material'; | ||
|
||
export function AccordionActions(props: AccordionActionsProps) { | ||
export function AccordionActions(props: AccordionActionsProps): JSX.Element { | ||
return <MuiAccordionActions {...props} />; | ||
} |
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,5 +1,5 @@ | ||
import { AccordionDetails as MuiAccordionDetails, type AccordionDetailsProps } from '@mui/material'; | ||
|
||
export function AccordionDetails(props: AccordionDetailsProps) { | ||
export function AccordionDetails(props: AccordionDetailsProps): JSX.Element { | ||
return <MuiAccordionDetails {...props} />; | ||
} |
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,5 +1,5 @@ | ||
import { AccordionSummary as MuiAccordionSummary, type AccordionSummaryProps } from '@mui/material'; | ||
|
||
export function AccordionSummary(props: AccordionSummaryProps) { | ||
export function AccordionSummary(props: AccordionSummaryProps): JSX.Element { | ||
return <MuiAccordionSummary {...props} />; | ||
} |
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,5 +1,5 @@ | ||
import { AppBar as MuiAppBar, type AppBarProps } from '@mui/material'; | ||
|
||
export function AppBar(props: AppBarProps) { | ||
export function AppBar(props: AppBarProps): JSX.Element { | ||
return <MuiAppBar {...props} />; | ||
} |
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,5 +1,5 @@ | ||
import { Avatar as MuiAvatar, type AvatarProps } from '@mui/material'; | ||
|
||
export function Avatar(props: AvatarProps) { | ||
export function Avatar(props: AvatarProps): JSX.Element { | ||
return <MuiAvatar {...props} />; | ||
} |
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,5 +1,5 @@ | ||
import { AvatarGroup as MuiAvatarGroup, type AvatarGroupProps } from '@mui/material'; | ||
|
||
export function AvatarGroup(props: AvatarGroupProps) { | ||
export function AvatarGroup(props: AvatarGroupProps): JSX.Element { | ||
return <MuiAvatarGroup {...props} />; | ||
} |
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,5 +1,5 @@ | ||
import { Badge as MuiBadge, type BadgeProps } from '@mui/material'; | ||
|
||
export function Badge(props: BadgeProps) { | ||
export function Badge(props: BadgeProps): JSX.Element { | ||
return <MuiBadge {...props} />; | ||
} |
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,5 +1,5 @@ | ||
import { Box as MuiBox, type BoxProps } from '@mui/material'; | ||
|
||
export function Box(props: BoxProps) { | ||
export function Box(props: BoxProps): JSX.Element { | ||
return <MuiBox {...props} />; | ||
} |
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,5 +1,5 @@ | ||
import { ButtonGroup as MuiButtonGroup, type ButtonGroupProps } from '@mui/material'; | ||
|
||
export function ButtonGroup(props: ButtonGroupProps) { | ||
export function ButtonGroup(props: ButtonGroupProps): JSX.Element { | ||
return <MuiButtonGroup {...props} />; | ||
} |
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,5 +1,5 @@ | ||
import { IconButton as MuiIconButton, type IconButtonProps } from '@mui/material'; | ||
|
||
export function IconButton(props: IconButtonProps) { | ||
export function IconButton(props: IconButtonProps): JSX.Element { | ||
return <MuiIconButton {...props} />; | ||
} |
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,5 +1,5 @@ | ||
import { Card as MuiCard, type CardProps } from '@mui/material'; | ||
|
||
export function Card(props: CardProps) { | ||
export function Card(props: CardProps): JSX.Element { | ||
return <MuiCard {...props} />; | ||
} |
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,5 +1,5 @@ | ||
import { CardActions as MuiCardActions, type CardActionsProps } from '@mui/material'; | ||
|
||
export function CardActions(props: CardActionsProps) { | ||
export function CardActions(props: CardActionsProps): JSX.Element { | ||
return <MuiCardActions {...props} />; | ||
} |
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,5 +1,5 @@ | ||
import { CardContent as MuiCardContent, type CardContentProps } from '@mui/material'; | ||
|
||
export function CardContent(props: CardContentProps) { | ||
export function CardContent(props: CardContentProps): JSX.Element { | ||
return <MuiCardContent {...props} />; | ||
} |
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,5 +1,5 @@ | ||
import { Checkbox as MuiCheckbox, type CheckboxProps } from '@mui/material'; | ||
|
||
export function Checkbox(props: CheckboxProps) { | ||
export function Checkbox(props: CheckboxProps): JSX.Element { | ||
return <MuiCheckbox {...props} />; | ||
} |
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,5 +1,5 @@ | ||
import { Chip as MuiChip, type ChipProps } from '@mui/material'; | ||
|
||
export function Chip(props: ChipProps) { | ||
export function Chip(props: ChipProps): JSX.Element { | ||
return <MuiChip {...props} />; | ||
} |
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 +1,3 @@ | ||
export * from 'mui-datatables'; | ||
import * as DataTable from 'mui-datatables'; | ||
|
||
export { DataTable }; |
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,5 +1,5 @@ | ||
import { Backdrop as MuiBackdrop, type BackdropProps } from '@mui/material'; | ||
|
||
export function Backdrop(props: BackdropProps) { | ||
export function Backdrop(props: BackdropProps): JSX.Element { | ||
return <MuiBackdrop {...props} />; | ||
} |
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,5 +1,5 @@ | ||
import { Dialog as MuiDialog, type DialogProps } from '@mui/material'; | ||
|
||
export function Dialog(props: DialogProps) { | ||
export function Dialog(props: DialogProps): JSX.Element { | ||
return <MuiDialog {...props} />; | ||
} |
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,5 +1,5 @@ | ||
import { DialogActions as MuiDialogActions, type DialogActionsProps } from '@mui/material'; | ||
|
||
export function DialogActions(props: DialogActionsProps) { | ||
export function DialogActions(props: DialogActionsProps): JSX.Element { | ||
return <MuiDialogActions {...props} />; | ||
} |
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,5 +1,5 @@ | ||
import { DialogContent as MuiDialogContent, type DialogContentProps } from '@mui/material'; | ||
|
||
export function DialogContent(props: DialogContentProps) { | ||
export function DialogContent(props: DialogContentProps): JSX.Element { | ||
return <MuiDialogContent {...props} />; | ||
} |
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,5 +1,5 @@ | ||
import { DialogTitle as MuiDialogTitle, type DialogTitleProps } from '@mui/material'; | ||
|
||
export function DialogTitle(props: DialogTitleProps) { | ||
export function DialogTitle(props: DialogTitleProps): JSX.Element { | ||
return <MuiDialogTitle {...props} />; | ||
} |
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,5 +1,5 @@ | ||
import { Divider as MuiDivider, type DividerProps } from '@mui/material'; | ||
|
||
export function Divider(props: DividerProps) { | ||
export function Divider(props: DividerProps): JSX.Element { | ||
return <MuiDivider {...props} />; | ||
} |
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,5 +1,5 @@ | ||
import { Drawer as MuiDrawer, type DrawerProps } from '@mui/material'; | ||
|
||
export function Drawer(props: DrawerProps) { | ||
export function Drawer(props: DrawerProps): JSX.Element { | ||
return <MuiDrawer {...props} />; | ||
} |
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,5 +1,5 @@ | ||
import { FormControlLabel as MuiFormControlLabel, type FormControlLabelProps } from '@mui/material'; | ||
|
||
export function FormControlLabel(props: FormControlLabelProps) { | ||
export function FormControlLabel(props: FormControlLabelProps): JSX.Element { | ||
return <MuiFormControlLabel {...props} />; | ||
} |
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,5 @@ | ||
import { Grid as MuiGrid, GridProps as MuiGridProps } from '@mui/material'; | ||
|
||
export function Grid(props: MuiGridProps): JSX.Element { | ||
return <MuiGrid {...props} />; | ||
} |
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,5 +1,5 @@ | ||
import { List as MuiList, type ListProps } from '@mui/material'; | ||
|
||
export const List = (props: ListProps) => { | ||
export function List(props: ListProps): JSX.Element { | ||
return <MuiList {...props} />; | ||
}; | ||
} |
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,5 +1,5 @@ | ||
import { Menu as MuiMenu, type MenuProps } from '@mui/material'; | ||
|
||
export function Menu(props: MenuProps) { | ||
export function Menu(props: MenuProps): JSX.Element { | ||
return <MuiMenu {...props} />; | ||
} |
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,5 +1,5 @@ | ||
import { MenuItem as MuiMenuItem, type MenuItemProps } from '@mui/material'; | ||
|
||
export function MenuItem(props: MenuItemProps) { | ||
export function MenuItem(props: MenuItemProps): JSX.Element { | ||
return <MuiMenuItem {...props} />; | ||
} |
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,5 +1,5 @@ | ||
import { Paper as MuiPaper, type PaperProps } from '@mui/material'; | ||
|
||
export function Paper(props: PaperProps) { | ||
export function Paper(props: PaperProps): JSX.Element { | ||
return <MuiPaper {...props}>{props.children}</MuiPaper>; | ||
} |
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,5 +1,5 @@ | ||
import { Popper as MuiPopper, type PopperProps } from '@mui/material'; | ||
|
||
export function Popper(props: PopperProps) { | ||
export function Popper(props: PopperProps): JSX.Element { | ||
return <MuiPopper {...props} />; | ||
} |
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,5 +1,5 @@ | ||
import { RadioGroup as MuiRadioGroup, type RadioGroupProps } from '@mui/material'; | ||
|
||
export function RadioGroup(props: RadioGroupProps) { | ||
export function RadioGroup(props: RadioGroupProps): JSX.Element { | ||
return <MuiRadioGroup {...props} />; | ||
} |
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,5 +1,5 @@ | ||
import { Select as MuiSelect, type SelectProps } from '@mui/material'; | ||
|
||
export const Select = (props: SelectProps) => { | ||
export function Select(props: SelectProps): JSX.Element { | ||
return <MuiSelect {...props} />; | ||
}; | ||
} |
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,5 +1,5 @@ | ||
import { Slide as MuiSlide, type SlideProps } from '@mui/material'; | ||
|
||
export function Slide(props: SlideProps) { | ||
export function Slide(props: SlideProps): JSX.Element { | ||
return <MuiSlide {...props} />; | ||
} |
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,5 +1,5 @@ | ||
import { Stack as MuiStack, type StackProps } from '@mui/material'; | ||
|
||
export function Stack(props: StackProps) { | ||
export function Stack(props: StackProps): JSX.Element { | ||
return <MuiStack {...props} />; | ||
} |
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,5 +1,5 @@ | ||
import { Switch as MuiSwitch, type SwitchProps } from '@mui/material'; | ||
|
||
export const Switch = (props: SwitchProps) => { | ||
export function Switch(props: SwitchProps): JSX.Element { | ||
return <MuiSwitch {...props} />; | ||
}; | ||
} |
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,5 +1,5 @@ | ||
import { Table as MuiTable, type TableProps } from '@mui/material'; | ||
|
||
export const Table = (props: TableProps) => { | ||
export function Table(props: TableProps): JSX.Element { | ||
return <MuiTable {...props} />; | ||
}; | ||
} |
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,5 +1,5 @@ | ||
import { Tab as MuiTab, type TabProps } from '@mui/material'; | ||
|
||
export function Tab(props: TabProps) { | ||
export function Tab(props: TabProps): JSX.Element { | ||
return <MuiTab {...props} />; | ||
} |
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,5 +1,5 @@ | ||
import { Tabs as MuiTabs, type TabsProps } from '@mui/material'; | ||
|
||
export function Tabs(props: TabsProps) { | ||
export function Tabs(props: TabsProps): JSX.Element { | ||
return <MuiTabs {...props} />; | ||
} |
Oops, something went wrong.