Skip to content

Commit

Permalink
feat: add remaining MUI components
Browse files Browse the repository at this point in the history
Signed-off-by: Kunaldeep singh <[email protected]>
  • Loading branch information
kunal70006 committed Aug 30, 2023
1 parent bdaf8ba commit a9ba156
Show file tree
Hide file tree
Showing 9 changed files with 56 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/components/src/buttongroup.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import React from 'react';
import { ButtonGroup as MuiButtonGroup, ButtonGroupProps } from '@mui/material';

export const ButtonGroup = (props: ButtonGroupProps) => {
return <MuiButtonGroup {...props} />;
};
6 changes: 6 additions & 0 deletions packages/components/src/card.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import React from 'react';
import { Card as MuiCard, CardProps } from '@mui/material';

export const Card = (props: CardProps) => {
return <MuiCard {...props} />;
};
8 changes: 8 additions & 0 deletions packages/components/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,11 @@ export { Tabs } from './tabs';
export { Toolbar } from './toolbar';
export { Tooltip } from './tooltip';
export { Typography } from './typography';
export { Card } from './card';
export { Menu } from './menu';
export { Table } from './table';
export { List } from './list';
export { TextField } from './textfield';
export { Switch } from './switch';
export { Select } from './select';
export { ButtonGroup } from './buttongroup';
6 changes: 6 additions & 0 deletions packages/components/src/list.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import React from 'react';
import { List as MuiList, ListProps } from '@mui/material';

export const List = (props: ListProps) => {
return <MuiList {...props} />;
};
6 changes: 6 additions & 0 deletions packages/components/src/menu.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import React from 'react';
import { Menu as MuiMenu, MenuProps } from '@mui/material';

export const Menu = (props: MenuProps) => {
return <MuiMenu {...props} />;
};
6 changes: 6 additions & 0 deletions packages/components/src/select.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import React from 'react';
import { Select as MuiSelect, SelectProps } from '@mui/material';

export const Select = (props: SelectProps) => {
return <MuiSelect {...props} />;
};
6 changes: 6 additions & 0 deletions packages/components/src/switch.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import React from 'react';
import { Switch as MuiSwitch, SwitchProps } from '@mui/material';

export const Switch = (props: SwitchProps) => {
return <MuiSwitch {...props} />;
};
6 changes: 6 additions & 0 deletions packages/components/src/table.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import React from 'react';
import { Table as MuiTable, TableProps } from '@mui/material';

export const Table = (props: TableProps) => {
return <MuiTable {...props} />;
};
6 changes: 6 additions & 0 deletions packages/components/src/textfield.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import React from 'react';
import { TextField as MuiTextField, TextFieldProps } from '@mui/material';

export const TextField = (props: TextFieldProps) => {
return <MuiTextField {...props} />;
};

0 comments on commit a9ba156

Please sign in to comment.