File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed
Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 11import {
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 }
Original file line number Diff line number Diff 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 ) ;
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import { useIsolatedLayoutPropNormalizer } from './internal/hooks/useIsolatedLay
1010import { IsolatedBlinkLayout } from './layouts/IsolatedBlinkLayout.tsx' ;
1111import 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 }
Original file line number Diff line number Diff line change 11export * from './Blink.tsx' ;
2- export * from './MiniBlink .tsx' ;
2+ export * from './Miniblink .tsx' ;
33export * from './types.ts' ;
You can’t perform that action at this time.
0 commit comments