Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add remaining MUI components #67

Merged
merged 1 commit into from
Aug 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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} />;
};