Skip to content

Commit

Permalink
add CSS import to each example
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinVandy committed Jan 5, 2024
1 parent 3e205e2 commit ff9f958
Show file tree
Hide file tree
Showing 214 changed files with 326 additions and 86 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'mantine-react-table/styles.css'; //make sure MRT styles were imported in your app root (once)
import { useMemo } from 'react';
import {
MRT_GlobalFilterTextInput,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'mantine-react-table/styles.css'; //make sure MRT styles were imported in your app root (once)
import { useMemo } from 'react';
import { MantineReactTable, type MRT_ColumnDef } from 'mantine-react-table';
import { Box, Button, Menu, Text, Title } from '@mantine/core';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import 'mantine-react-table/styles.css'; //make sure MRT styles were imported in your app root (once)
import 'mantine-react-table/styles.css'; //make sure MRT styles were imported in your app root
import { useMemo } from 'react';
import {
MantineReactTable,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'mantine-react-table/styles.css'; //make sure MRT styles were imported in your app root (once)
import { useMemo } from 'react';
import { Box, Stack } from '@mantine/core';
import { MantineReactTable, useMantineReactTable } from 'mantine-react-table';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'mantine-react-table/styles.css'; //make sure MRT styles were imported in your app root (once)
import { useMemo } from 'react';
import { Box, Stack } from '@mantine/core';
import { MantineReactTable, type MRT_ColumnDef } from 'mantine-react-table';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'mantine-react-table/styles.css'; //make sure MRT styles were imported in your app root (once)
import { useMemo } from 'react';
import { Box, Stack } from '@mantine/core';
import {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'mantine-react-table/styles.css'; //make sure MRT styles were imported in your app root (once)
import { useMemo } from 'react';
import { Box } from '@mantine/core';
import { MantineReactTable } from 'mantine-react-table';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'mantine-react-table/styles.css'; //make sure MRT styles were imported in your app root (once)
import { useMemo } from 'react';
import { Box } from '@mantine/core';
import { MantineReactTable, type MRT_ColumnDef } from 'mantine-react-table';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'mantine-react-table/styles.css'; //make sure MRT styles were imported in your app root (once)
import { useMemo } from 'react';
import { MantineReactTable } from 'mantine-react-table';
import { data } from './makeData';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'mantine-react-table/styles.css'; //make sure MRT styles were imported in your app root (once)
import { useMemo } from 'react';
import { MantineReactTable, type MRT_ColumnDef } from 'mantine-react-table';
import { data, type Person } from './makeData';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'mantine-react-table/styles.css'; //make sure MRT styles were imported in your app root (once)
import { useMemo } from 'react';
import { MantineReactTable } from 'mantine-react-table';
import { Box, Text } from '@mantine/core';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'mantine-react-table/styles.css'; //make sure MRT styles were imported in your app root (once)
import { useMemo } from 'react';
import { MantineReactTable, type MRT_ColumnDef } from 'mantine-react-table';
import { Box, Text } from '@mantine/core';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'mantine-react-table/styles.css'; //make sure MRT styles were imported in your app root (once)
import { MantineReactTable, useMantineReactTable } from 'mantine-react-table';
import { columns, data } from './makeData';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'mantine-react-table/styles.css'; //make sure MRT styles were imported in your app root (once)
import { MantineReactTable, useMantineReactTable } from 'mantine-react-table';
import { columns, data } from './makeData';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'mantine-react-table/styles.css'; //make sure MRT styles were imported in your app root (once)
import { useMemo } from 'react';
import { MantineReactTable, useMantineReactTable } from 'mantine-react-table';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'mantine-react-table/styles.css'; //make sure MRT styles were imported in your app root (once)
import { useMemo } from 'react';
import { MantineReactTable, type MRT_ColumnDef } from 'mantine-react-table';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'mantine-react-table/styles.css'; //make sure MRT styles were imported in your app root (once)
import { useMemo } from 'react';
import {
MantineReactTable,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'mantine-react-table/styles.css'; //make sure MRT styles were imported in your app root (once)
import { useMemo } from 'react';
import { MantineReactTable } from 'mantine-react-table';
import { data } from './makeData';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'mantine-react-table/styles.css'; //make sure MRT styles were imported in your app root (once)
import { useMemo } from 'react';
import { MantineReactTable, type MRT_ColumnDef } from 'mantine-react-table';
import { data } from './makeData';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'mantine-react-table/styles.css'; //make sure MRT styles were imported in your app root (once)
import { useMemo } from 'react';
import { MantineReactTable } from 'mantine-react-table';
import { data } from './makeData';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'mantine-react-table/styles.css'; //make sure MRT styles were imported in your app root (once)
import { useMemo } from 'react';
import { MantineReactTable, type MRT_ColumnDef } from 'mantine-react-table';
import { data, type Person } from './makeData';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'mantine-react-table/styles.css'; //make sure MRT styles were imported in your app root (once)
import { useMemo } from 'react';
import { MantineReactTable, useMantineReactTable } from 'mantine-react-table';
import { Menu, Divider } from '@mantine/core';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'mantine-react-table/styles.css'; //make sure MRT styles were imported in your app root (once)
import { useMemo } from 'react';
import {
MantineReactTable,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'mantine-react-table/styles.css'; //make sure MRT styles were imported in your app root (once)
import {
flexRender,
MRT_GlobalFilterTextInput,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'mantine-react-table/styles.css'; //make sure MRT styles were imported in your app root (once)
import {
flexRender,
MRT_GlobalFilterTextInput,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'mantine-react-table/styles.css'; //make sure MRT styles were imported in your app root (once)
import { useMemo } from 'react';
import {
MRT_ToggleDensePaddingButton,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'mantine-react-table/styles.css'; //make sure MRT styles were imported in your app root (once)
import { useMemo } from 'react';
import {
MRT_ToggleDensePaddingButton,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'mantine-react-table/styles.css'; //make sure MRT styles were imported in your app root (once)
import { useMemo } from 'react';
import { Box, Button } from '@mantine/core';
import { MantineReactTable } from 'mantine-react-table';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'mantine-react-table/styles.css'; //make sure MRT styles were imported in your app root (once)
import { useMemo } from 'react';
import { Box, Button } from '@mantine/core';
import { MantineReactTable, type MRT_ColumnDef } from 'mantine-react-table';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'mantine-react-table/styles.css'; //make sure MRT styles were imported in your app root (once)
import { useMemo } from 'react';
import { MantineReactTable } from 'mantine-react-table';
import { data } from './makeData';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'mantine-react-table/styles.css'; //make sure MRT styles were imported in your app root (once)
import { useMemo } from 'react';
import { MantineReactTable, type MRT_ColumnDef } from 'mantine-react-table';
import { data } from './makeData';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'mantine-react-table/styles.css'; //make sure MRT styles were imported in your app root (once)
import { useMemo } from 'react';
import { MantineReactTable } from 'mantine-react-table';
import { Menu } from '@mantine/core';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'mantine-react-table/styles.css'; //make sure MRT styles were imported in your app root (once)
import { useMemo } from 'react';
import { MantineReactTable, type MRT_ColumnDef } from 'mantine-react-table';
import { Menu } from '@mantine/core';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'mantine-react-table/styles.css'; //make sure MRT styles were imported in your app root (once)
import { useMemo } from 'react';
import { MantineReactTable, useMantineReactTable } from 'mantine-react-table';
import { citiesList, data, usStateList } from './makeData';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'mantine-react-table/styles.css'; //make sure MRT styles were imported in your app root (once)
import { useMemo } from 'react';
import {
MantineReactTable,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'mantine-react-table/styles.css'; //make sure MRT styles were imported in your app root (once)
import { useMemo } from 'react';
import { MantineReactTable } from 'mantine-react-table';
import { data } from './makeData';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'mantine-react-table/styles.css'; //make sure MRT styles were imported in your app root (once)
import { useMemo } from 'react';
import { MantineReactTable, type MRT_ColumnDef } from 'mantine-react-table';
import { data, type Person } from './makeData';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'mantine-react-table/styles.css'; //make sure MRT styles were imported in your app root (once)
import { useMemo } from 'react';
import { MantineReactTable, useMantineReactTable } from 'mantine-react-table';
import { data } from './makeData';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'mantine-react-table/styles.css'; //make sure MRT styles were imported in your app root (once)
import { useMemo } from 'react';
import {
MantineReactTable,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'mantine-react-table/styles.css'; //make sure MRT styles were imported in your app root (once)
import { useMemo } from 'react';
import { MantineReactTable } from 'mantine-react-table';
import { data } from './makeData';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'mantine-react-table/styles.css'; //make sure MRT styles were imported in your app root (once)
import { useMemo } from 'react';
import { MantineReactTable, type MRT_ColumnDef } from 'mantine-react-table';
import { data, type Person } from './makeData';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'mantine-react-table/styles.css'; //make sure MRT styles were imported in your app root (once)
import { useMemo } from 'react';
import { MantineReactTable } from 'mantine-react-table';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'mantine-react-table/styles.css'; //make sure MRT styles were imported in your app root (once)
import { useMemo } from 'react';
import { MantineReactTable, type MRT_ColumnDef } from 'mantine-react-table';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'mantine-react-table/styles.css'; //make sure MRT styles were imported in your app root (once)
import { useMemo } from 'react';
import { MantineReactTable } from 'mantine-react-table';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'mantine-react-table/styles.css'; //make sure MRT styles were imported in your app root (once)
import { useMemo } from 'react';
import { MantineReactTable, type MRT_ColumnDef } from 'mantine-react-table';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'mantine-react-table/styles.css'; //make sure MRT styles were imported in your app root (once)
import { useMemo } from 'react';
import { MantineReactTable } from 'mantine-react-table';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'mantine-react-table/styles.css'; //make sure MRT styles were imported in your app root (once)
import { useMemo } from 'react';
import { MantineReactTable, type MRT_ColumnDef } from 'mantine-react-table';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'mantine-react-table/styles.css'; //make sure MRT styles were imported in your app root (once)
import { useMemo } from 'react';
import { MantineReactTable } from 'mantine-react-table';
import { data } from './makeData';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'mantine-react-table/styles.css'; //make sure MRT styles were imported in your app root (once)
import { useMemo } from 'react';
import { MantineReactTable, type MRT_ColumnDef } from 'mantine-react-table';
import { data, type Person } from './makeData';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'mantine-react-table/styles.css'; //make sure MRT styles were imported in your app root (once)
import { useMemo, useState } from 'react';
import {
MantineReactTable,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'mantine-react-table/styles.css'; //make sure MRT styles were imported in your app root (once)
import { useMemo, useState } from 'react';
import {
MantineReactTable,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'mantine-react-table/styles.css'; //make sure MRT styles were imported in your app root (once)
import { useMemo, useState } from 'react';
import {
MRT_EditActionButtons,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'mantine-react-table/styles.css'; //make sure MRT styles were imported in your app root (once)
import { useMemo, useState } from 'react';
import {
MRT_EditActionButtons,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'mantine-react-table/styles.css'; //make sure MRT styles were imported in your app root (once)
import { useMemo, useState } from 'react';
import {
MantineReactTable,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'mantine-react-table/styles.css'; //make sure MRT styles were imported in your app root (once)
import { useMemo, useState } from 'react';
import {
MantineReactTable,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'mantine-react-table/styles.css'; //make sure MRT styles were imported in your app root (once)
import { useMemo, useState } from 'react';
import {
MantineReactTable,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'mantine-react-table/styles.css'; //make sure MRT styles were imported in your app root (once)
import { useMemo, useState } from 'react';
import {
MantineReactTable,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'mantine-react-table/styles.css'; //make sure MRT styles were imported in your app root (once)
import { useMemo } from 'react';
import { MantineReactTable, useMantineReactTable } from 'mantine-react-table';
import { data } from './makeData';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'mantine-react-table/styles.css'; //make sure MRT styles were imported in your app root (once)
import { useMemo } from 'react';
import {
MantineReactTable,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'mantine-react-table/styles.css'; //make sure MRT styles were imported in your app root (once)
import { useMemo } from 'react';
import { MantineReactTable } from 'mantine-react-table';
import { data } from './makeData';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'mantine-react-table/styles.css'; //make sure MRT styles were imported in your app root (once)
import { useMemo } from 'react';
import { MantineReactTable, type MRT_ColumnDef } from 'mantine-react-table';
import { data, type Person } from './makeData';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'mantine-react-table/styles.css'; //make sure MRT styles were imported in your app root (once)
import { useMemo } from 'react';
import { MantineReactTable } from 'mantine-react-table';
import { data } from './makeData';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'mantine-react-table/styles.css'; //make sure MRT styles were imported in your app root (once)
import { useMemo } from 'react';
import { MantineReactTable, type MRT_ColumnDef } from 'mantine-react-table';
import { data, type Person } from './makeData';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'mantine-react-table/styles.css'; //make sure MRT styles were imported in your app root (once)
import { useMemo } from 'react';
import { MantineReactTable } from 'mantine-react-table';
import { data } from './makeData';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'mantine-react-table/styles.css'; //make sure MRT styles were imported in your app root (once)
import { useMemo } from 'react';
import { MantineReactTable, type MRT_ColumnDef } from 'mantine-react-table';
import { data, type Person } from './makeData';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'mantine-react-table/styles.css'; //make sure MRT styles were imported in your app root (once)
import { useMemo } from 'react';
import { MantineReactTable } from 'mantine-react-table';
import { data } from './makeData';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'mantine-react-table/styles.css'; //make sure MRT styles were imported in your app root (once)
import { useMemo } from 'react';
import { MantineReactTable, type MRT_ColumnDef } from 'mantine-react-table';
import { data, type Person } from './makeData';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'mantine-react-table/styles.css'; //make sure MRT styles were imported in your app root (once)
import { useRef } from 'react';
import { MantineReactTable, useMantineReactTable } from 'mantine-react-table';
import { fakeColumns, fakeData } from './makeData';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'mantine-react-table/styles.css'; //make sure MRT styles were imported in your app root (once)
import { useRef } from 'react';
import {
MantineReactTable,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'mantine-react-table/styles.css'; //make sure MRT styles were imported in your app root (once)
import { useMemo } from 'react';
import { MantineReactTable } from 'mantine-react-table';
import { Box, Text } from '@mantine/core';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'mantine-react-table/styles.css'; //make sure MRT styles were imported in your app root (once)
import { useMemo } from 'react';
import { MantineReactTable, type MRT_ColumnDef } from 'mantine-react-table';
import { Box, Text } from '@mantine/core';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'mantine-react-table/styles.css'; //make sure MRT styles were imported in your app root (once)
import { useMemo, useState } from 'react';
import { MantineReactTable } from 'mantine-react-table';
import { Text } from '@mantine/core';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'mantine-react-table/styles.css'; //make sure MRT styles were imported in your app root (once)
import { useMemo, useState } from 'react';
import {
MantineReactTable,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'mantine-react-table/styles.css'; //make sure MRT styles were imported in your app root (once)
import { useMemo, useState } from 'react';
import { MantineReactTable } from 'mantine-react-table';
import { data } from './makeData';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'mantine-react-table/styles.css'; //make sure MRT styles were imported in your app root (once)
import { useMemo, useState } from 'react';
import {
MantineReactTable,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'mantine-react-table/styles.css'; //make sure MRT styles were imported in your app root (once)
import { useMemo, useState } from 'react';
import { MantineReactTable } from 'mantine-react-table';
import { data } from './makeData';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'mantine-react-table/styles.css'; //make sure MRT styles were imported in your app root (once)
import { useMemo, useState } from 'react';
import {
MantineReactTable,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'mantine-react-table/styles.css'; //make sure MRT styles were imported in your app root (once)
import { useMemo, useState } from 'react';
import { MantineReactTable } from 'mantine-react-table';
import { data } from './makeData';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'mantine-react-table/styles.css'; //make sure MRT styles were imported in your app root (once)
import { useMemo, useState } from 'react';
import {
MantineReactTable,
Expand Down
Loading

0 comments on commit ff9f958

Please sign in to comment.