Skip to content

Commit ff333f5

Browse files
committed
chore: rename MiniBlink -> Miniblink
1 parent 1271515 commit ff333f5

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

examples/mini-blinks/src/App.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import {
2-
MiniBlink,
2+
Miniblink,
33
useAction,
44
useActionsRegistryInterval,
55
} from '@dialectlabs/blinks';
@@ -27,7 +27,7 @@ function App() {
2727
{isLoading || !action ? (
2828
<span>Loading</span>
2929
) : (
30-
<MiniBlink
30+
<Miniblink
3131
selector={(currentAction) =>
3232
currentAction.actions.find((a) => a.label === 'Donate')!
3333
}

packages/blinks/src/ui/Blink.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export const Blink = ({
2929
return (
3030
<BlinkContainer
3131
{...props}
32-
selector={undefined} // explicitly disabled, use `MiniBlink` instead
32+
selector={undefined} // explicitly disabled, use `Miniblink` instead
3333
Layout={LayoutWithPreset}
3434
/>
3535
);
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { useIsolatedLayoutPropNormalizer } from './internal/hooks/useIsolatedLay
1010
import { IsolatedBlinkLayout } from './layouts/IsolatedBlinkLayout.tsx';
1111
import type { StylePreset } from './types.ts';
1212

13-
export interface MiniBlinkProps
13+
export interface MiniblinkProps
1414
extends Omit<BlinkContainerProps, 'Layout' | 'selector' | 'securityLevel'> {
1515
_Layout?: ComponentType<
1616
BaseBlinkLayoutProps & {
@@ -21,11 +21,11 @@ export interface MiniBlinkProps
2121
selector: (currentAction: Action) => AbstractActionComponent | null;
2222
}
2323

24-
export const MiniBlink = ({
24+
export const Miniblink = ({
2525
_Layout: Layout = NormalizedIsolatedBlinkLayout,
2626
stylePreset,
2727
...props
28-
}: MiniBlinkProps) => {
28+
}: MiniblinkProps) => {
2929
const LayoutWithPreset = useCallback(
3030
(props: BaseBlinkLayoutProps) => (
3131
<Layout {...props} stylePreset={stylePreset} />
@@ -47,7 +47,7 @@ export const NormalizedIsolatedBlinkLayout = (
4747

4848
if (!normalizedProps) {
4949
console.warn(
50-
'[@dialectlabs/blinks] No `selector` prop provided for MiniBlink',
50+
'[@dialectlabs/blinks] No `selector` prop provided for Miniblink',
5151
);
5252
return null;
5353
}

packages/blinks/src/ui/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
export * from './Blink.tsx';
2-
export * from './MiniBlink.tsx';
2+
export * from './Miniblink.tsx';
33
export * from './types.ts';

0 commit comments

Comments
 (0)