Skip to content

Commit

Permalink
fix(TextFieldCanary): fixed import
Browse files Browse the repository at this point in the history
  • Loading branch information
gizeasy committed Nov 14, 2024
1 parent e5c2d9c commit b97796e
Show file tree
Hide file tree
Showing 15 changed files with 14 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import React, { useRef } from 'react';

import { Button } from '##/components/Button';

import { TextField } from '../../../TextField';
import { TextField } from '../../../TextFieldCanary';

export const TextFieldExampleAutoFocus = () => {
return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import React, { useState } from 'react';
import { cnMixFlex } from '##/mixs/MixFlex';

import { Button } from '../../../../Button/Button';
import { TextField } from '../../../TextField';
import { TextField } from '../../../TextFieldCanary';

export const TextFieldExampleFormBasic = () => {
const [value, setValue] = useState<string | null>(null);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Example } from '@consta/stand';
import React from 'react';

import { TextField } from '../../../TextField';
import { TextField } from '../../../TextFieldCanary';

export const TextFieldExampleIncrementButtons = () => {
return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { FieldLabel } from '##/components/FieldLabel';
import { Text } from '##/components/Text';
import { cnMixSpace } from '##/mixs/MixSpace';

import { TextField } from '../../../TextField';
import { TextField } from '../../../TextFieldCanary';

export const TextFieldExampleMaskAmount = () => {
const { ref, value, unmaskedValue } = useIMask<
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Example } from '@consta/stand';
import React from 'react';

import { TextField } from '../../../TextField';
import { TextField } from '../../../TextFieldCanary';

export const TextFieldExampleResizeTrue = () => {
return (
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Example } from '@consta/stand';
import React, { useState } from 'react';

import { TextField } from '../../../TextField';
import { TextField } from '../../../TextFieldCanary';

export const TextFieldExampleSize = () => {
const [value, setValue] = useState<string | null>(null);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Example } from '@consta/stand';
import React, { useState } from 'react';

import { TextField } from '../../../TextField';
import { TextField } from '../../../TextFieldCanary';

export const TextFieldExampleStatus = () => {
const [value, setValue] = useState<string | null>(null);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Example } from '@consta/stand';
import React from 'react';

import { TextField } from '../../../TextField';
import { TextField } from '../../../TextFieldCanary';

export const TextFieldExampleStepArray = () => {
return (
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Example } from '@consta/stand';
import React, { useCallback, useRef, useState } from 'react';

import { TextField } from '../../../TextField';
import { TextField } from '../../../TextFieldCanary';

export const TextFieldExampleTextArrayPreParsing = () => {
const [value, setValue] = useState<string[] | null>(null);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { IconDiamond } from '@consta/icons/IconDiamond';
import { Example } from '@consta/stand';
import React, { useState } from 'react';

import { TextField } from '../../../TextField';
import { TextField } from '../../../TextFieldCanary';

export const TextFieldExampleTextPlaceholder = () => {
const [value, setValue] = useState<string | null>(null);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Example } from '@consta/stand';
import React, { useState } from 'react';

import { TextField } from '../../../TextField';
import { TextField } from '../../../TextFieldCanary';

export const TextFieldExampleTypeText = () => {
return (
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Example } from '@consta/stand';
import React, { useState } from 'react';

import { TextField } from '../../../TextField';
import { TextField } from '../../../TextFieldCanary';

export const TextFieldExampleView = () => {
const [value, setValue] = useState<string | null>(null);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Example } from '@consta/stand';
import React from 'react';

import { TextField } from '../../../TextField';
import { TextField } from '../../../TextFieldCanary';

export const TextFieldExampleWithClearButton = () => {
return (
Expand Down
2 changes: 1 addition & 1 deletion src/components/TextFieldCanary/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export * from './TextField';
export * from './TextFieldCanary';

export * from './TextFieldTypeText';
export * from './TextFieldTypeTextArea';
Expand Down

0 comments on commit b97796e

Please sign in to comment.