Skip to content

Commit 5011524

Browse files
Copilothotlong
andcommitted
fix: rename RulerIcon to Ruler for consistent icon naming
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
1 parent e96b941 commit 5011524

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

packages/plugin-list/src/ListView.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import * as React from 'react';
1010
import { cn, Button, Input, Popover, PopoverContent, PopoverTrigger, FilterBuilder, SortBuilder, NavigationOverlay } from '@object-ui/components';
1111
import type { SortItem } from '@object-ui/components';
12-
import { Search, SlidersHorizontal, ArrowUpDown, X, EyeOff, Group, Paintbrush, RulerIcon } from 'lucide-react';
12+
import { Search, SlidersHorizontal, ArrowUpDown, X, EyeOff, Group, Paintbrush, Ruler } from 'lucide-react';
1313
import type { FilterGroup } from '@object-ui/components';
1414
import { ViewSwitcher, ViewType } from './ViewSwitcher';
1515
import { SchemaRenderer, useNavigationOverlay } from '@object-ui/react';
@@ -522,7 +522,7 @@ export const ListView: React.FC<ListViewProps> = ({
522522
className="h-7 px-2 text-muted-foreground hover:text-primary text-xs hidden lg:flex"
523523
disabled
524524
>
525-
<RulerIcon className="h-3.5 w-3.5 mr-1.5" />
525+
<Ruler className="h-3.5 w-3.5 mr-1.5" />
526526
<span className="hidden sm:inline">Row height</span>
527527
</Button>
528528
</div>

packages/plugin-view/src/ObjectView.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ import {
5555
TabsList,
5656
TabsTrigger,
5757
} from '@object-ui/components';
58-
import { Plus, Search, RefreshCw, SlidersHorizontal, ArrowUpDown, EyeOff, Group, Paintbrush, RulerIcon, X } from 'lucide-react';
58+
import { Plus, Search, RefreshCw, SlidersHorizontal, ArrowUpDown, EyeOff, Group, Paintbrush, Ruler, X } from 'lucide-react';
5959
import { ViewSwitcher } from './ViewSwitcher';
6060
import { FilterUI } from './FilterUI';
6161
import { SortUI } from './SortUI';
@@ -930,7 +930,7 @@ export const ObjectView: React.FC<ObjectViewProps> = ({
930930
className="h-7 px-2 text-muted-foreground hover:text-primary text-xs hidden lg:flex"
931931
disabled
932932
>
933-
<RulerIcon className="h-3.5 w-3.5 mr-1.5" />
933+
<Ruler className="h-3.5 w-3.5 mr-1.5" />
934934
<span className="hidden sm:inline">Row height</span>
935935
</Button>
936936
</div>

0 commit comments

Comments
 (0)