Skip to content

Commit

Permalink
Fix Wrapped content
Browse files Browse the repository at this point in the history
  • Loading branch information
roshni73 authored and samshara committed Jun 13, 2024
1 parent c4ed225 commit e81aa3a
Show file tree
Hide file tree
Showing 50 changed files with 100 additions and 100 deletions.
4 changes: 2 additions & 2 deletions packages/go-ui-storybook/src/stories/ SearchSelectInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
// eslint-disable-next-line max-len
type SearchSelectInputProps<K extends OptionKey, N, Option extends object, Def extends object > = PureSearchSelectInputProps<K, N, Option, Def, never> ;

function WrappedSearchSelectInput
function SearchSelectInput
<K extends OptionKey, const N, Option extends object, Def extends object>(
props: SearchSelectInputProps<K, N, Option, Def>,
) {
Expand All @@ -17,4 +17,4 @@ function WrappedSearchSelectInput
);
}

export default WrappedSearchSelectInput;
export default SearchSelectInput;
4 changes: 2 additions & 2 deletions packages/go-ui-storybook/src/stories/Alert.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import {

interface AlertProps<N extends string> extends PureAlertProps<N> {}

function WrappedAlert<N extends string>(props: AlertProps<N>) {
function Alert<N extends string>(props: AlertProps<N>) {
return (
<PureAlert {...props} />// eslint-disable-line react/jsx-props-no-spreading
);
}

export default WrappedAlert;
export default Alert;
4 changes: 2 additions & 2 deletions packages/go-ui-storybook/src/stories/BlockLoading.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import {

interface BlockloadingProps extends PureBlockLoadingProps {}

function WrappedBlockloading(props: BlockloadingProps) {
function Blockloading(props: BlockloadingProps) {
return (
// eslint-disable-next-line react/jsx-props-no-spreading
<PureBlockLoading {...props} />
);
}
export default WrappedBlockloading;
export default Blockloading;
4 changes: 2 additions & 2 deletions packages/go-ui-storybook/src/stories/BodyOverlay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import {

interface BodyOverlayProps extends PureBodyOverlayProps {}

function WrappedBodyOverlay(props: BodyOverlayProps) {
function BodyOverlay(props: BodyOverlayProps) {
return (
<PureBodyOverlay {...props} />// eslint-disable-line react/jsx-props-no-spreading
);
}

export default WrappedBodyOverlay;
export default BodyOverlay;
4 changes: 2 additions & 2 deletions packages/go-ui-storybook/src/stories/BooleanInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ import {

type WrappedBooleanInputProps = PureBooleanInputProps<string>;

function WrappedBooleanInput(props: WrappedBooleanInputProps) {
function BooleanInput(props: WrappedBooleanInputProps) {
return (
// eslint-disable-next-line react/jsx-props-no-spreading
<PureBooleanInput {...props} />
);
}

export default WrappedBooleanInput;
export default BooleanInput;
4 changes: 2 additions & 2 deletions packages/go-ui-storybook/src/stories/BooleanOutput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import {

interface BooleanOutputProps extends PureBooleanOutputProps{}

function WrappedBooleanOutput(props: BooleanOutputProps) {
function BooleanOutput(props: BooleanOutputProps) {
return (
<PureBooleanOutput {...props} />// eslint-disable-line react/jsx-props-no-spreading
);
}

export default WrappedBooleanOutput;
export default BooleanOutput;
4 changes: 2 additions & 2 deletions packages/go-ui-storybook/src/stories/Breadcrumbs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import {

interface BreadcrumbsProps extends PureBreadcrumbsProps {}

function WrappedBreadcrumbs(props: BreadcrumbsProps) {
function Breadcrumbs(props: BreadcrumbsProps) {
return (
<PureBreadcrumbs {...props} /> // eslint-disable-line react/jsx-props-no-spreading
);
}

export default WrappedBreadcrumbs;
export default Breadcrumbs;
4 changes: 2 additions & 2 deletions packages/go-ui-storybook/src/stories/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import {

interface ButtonProps<N> extends PureButtonProps<N> {}

function WrappedButton<const N>(props: ButtonProps<N>) {
function Button<const N>(props: ButtonProps<N>) {
return (
<PureButton {...props} />// eslint-disable-line react/jsx-props-no-spreading
);
}

export default WrappedButton;
export default Button;
4 changes: 2 additions & 2 deletions packages/go-ui-storybook/src/stories/CheckBox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ import {

interface CheckboxProps<N> extends PureCheckboxProps<N> {}

function WrappedCheckBox<const N>(props: CheckboxProps<N>) {
function CheckBox<const N>(props: CheckboxProps<N>) {
return (
// eslint-disable-next-line max-len
<PureCheckbox {...props} /> // eslint-disable-line react/jsx-props-no-spreading
);
}

export default WrappedCheckBox;
export default CheckBox;
4 changes: 2 additions & 2 deletions packages/go-ui-storybook/src/stories/ConfirmButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import {

interface ConfirmButtonProps<N> extends PureConfirmButtonProps<N> {}

function WrappedConfirmButton<const N>(props: ConfirmButtonProps<N>) {
function ConfirmButton<const N>(props: ConfirmButtonProps<N>) {
return (
<PureConfirmButton {...props} />// eslint-disable-line react/jsx-props-no-spreading
);
}

export default WrappedConfirmButton;
export default ConfirmButton;
4 changes: 2 additions & 2 deletions packages/go-ui-storybook/src/stories/DateRangeOutput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ import {

interface DateRangeOutputProps extends PureDateRangeOutputProps{}

function WrappedDateRangeOutput(props: DateRangeOutputProps) {
function DateRangeOutput(props: DateRangeOutputProps) {
return (
// eslint-disable-next-line react/jsx-props-no-spreading
<PureDateRangeOutput {...props} />
);
}

export default WrappedDateRangeOutput;
export default DateRangeOutput;
4 changes: 2 additions & 2 deletions packages/go-ui-storybook/src/stories/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import {

interface FooterProps extends PureFooterProps {}

function WrappedFooter(props:FooterProps) {
function Footer(props:FooterProps) {
return (
<PureFooter {...props} /> // eslint-disable-line react/jsx-props-no-spreading
);
}

export default WrappedFooter;
export default Footer;
4 changes: 2 additions & 2 deletions packages/go-ui-storybook/src/stories/Grid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ import {
interface GridProps< DATUM, KEY extends ListKey, RENDERER_PROPS>
extends PureGridProps< DATUM, KEY, RENDERER_PROPS> {}

function WrappedGrid
function Grid
// eslint-disable-next-line max-len
<DATUM, KEY extends ListKey, RENDERER_PROPS>(props: GridProps<DATUM, KEY, RENDERER_PROPS>) {
return (
<PureGrid {...props} />// eslint-disable-line react/jsx-props-no-spreading
);
}

export default WrappedGrid;
export default Grid;
4 changes: 2 additions & 2 deletions packages/go-ui-storybook/src/stories/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import {

type HeaderProps = PureHeaderProps

function WrappedHeader(props:HeaderProps) {
function Header(props:HeaderProps) {
return (
<PureHeader {...props} /> // eslint-disable-line react/jsx-props-no-spreading
);
}

export default WrappedHeader;
export default Header;
4 changes: 2 additions & 2 deletions packages/go-ui-storybook/src/stories/Heading.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import {

interface HeadingProps extends PureHeadingProps {}

function WrappedHeading(props: HeadingProps) {
function Heading(props: HeadingProps) {
return (
<PureHeading {...props} /> // eslint-disable-line react/jsx-props-no-spreading
);
}

export default WrappedHeading;
export default Heading;
4 changes: 2 additions & 2 deletions packages/go-ui-storybook/src/stories/HtmlOutput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import {

interface HtmlOutputProps extends PureHtmlOutputProps {}

function WrappedHtmlOutput(props:HtmlOutputProps) {
function HtmlOutput(props:HtmlOutputProps) {
return (
<PureHtmlOutput {...props} /> // eslint-disable-line react/jsx-props-no-spreading
);
}

export default WrappedHtmlOutput;
export default HtmlOutput;
4 changes: 2 additions & 2 deletions packages/go-ui-storybook/src/stories/IconButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import {

interface IconButtonProps<N> extends PureIconButtonProps<N> {}

function WrappedIconButton<const N>(props: IconButtonProps<N>) {
function IconButton<const N>(props: IconButtonProps<N>) {
return (
<PureIconButton {...props} />// eslint-disable-line react/jsx-props-no-spreading
);
}

export default WrappedIconButton;
export default IconButton;
4 changes: 2 additions & 2 deletions packages/go-ui-storybook/src/stories/Image.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import {

interface ImageProps extends PureImageProps {}

function WrappedImage(props: ImageProps) {
function Image(props: ImageProps) {
return (
<PureImage {...props} />// eslint-disable-line react/jsx-props-no-spreading
);
}

export default WrappedImage;
export default Image;
4 changes: 2 additions & 2 deletions packages/go-ui-storybook/src/stories/InfoPopup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import {

type InfoPopupProps = PureInfoPopupProps

function WrappedInfoPopup(props: InfoPopupProps) {
function InfoPopup(props: InfoPopupProps) {
return (
<PureInfoPopup {...props} />// eslint-disable-line react/jsx-props-no-spreading
);
}

export default WrappedInfoPopup;
export default InfoPopup;
4 changes: 2 additions & 2 deletions packages/go-ui-storybook/src/stories/InputError.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import {

interface InputErrorProps extends PureInputErrorProps {}

function WrappedInputError(props: InputErrorProps) {
function InputError(props: InputErrorProps) {
return (
<PureInputError {...props} />// eslint-disable-line react/jsx-props-no-spreading
);
}

export default WrappedInputError;
export default InputError;
4 changes: 2 additions & 2 deletions packages/go-ui-storybook/src/stories/InputHint.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import {

interface InputHintProps extends PureInputHintProps {}

function WrappedInputHint(props: InputHintProps) {
function InputHint(props: InputHintProps) {
return (
<PureInputHint {...props} /> // eslint-disable-line react/jsx-props-no-spreading
);
}

export default WrappedInputHint;
export default InputHint;
4 changes: 2 additions & 2 deletions packages/go-ui-storybook/src/stories/InputLabel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import {

interface InputLabelProps extends PureInputLabelProps {}

function WrappedInputLabel(props: InputLabelProps) {
function InputLabel(props: InputLabelProps) {
return (
<PureInputLabel {...props} /> // eslint-disable-line react/jsx-props-no-spreading
);
}

export default WrappedInputLabel;
export default InputLabel;
4 changes: 2 additions & 2 deletions packages/go-ui-storybook/src/stories/InputSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import {

type InputSectionProps = PureInputSectionProps

function WrappedInputSection(props: InputSectionProps) {
function InputSection(props: InputSectionProps) {
return (
<PureInputSection {...props} />// eslint-disable-line react/jsx-props-no-spreading
);
}

export default WrappedInputSection;
export default InputSection;
4 changes: 2 additions & 2 deletions packages/go-ui-storybook/src/stories/LegendItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import {

interface LegendItemProps extends PureLegendItemProps {}

function WrappedSpinner(props: LegendItemProps) {
function LegendItem(props: LegendItemProps) {
return (
<PureLegendItem {...props} />// eslint-disable-line react/jsx-props-no-spreading
);
}

export default WrappedSpinner;
export default LegendItem;
4 changes: 2 additions & 2 deletions packages/go-ui-storybook/src/stories/Message.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import {

interface MessageProps extends PureMessageProps {}

function WrappedMessage(props: MessageProps) {
function Message(props: MessageProps) {
return (
<PureMessage {...props} />// eslint-disable-line react/jsx-props-no-spreading
);
}

export default WrappedMessage;
export default Message;
4 changes: 2 additions & 2 deletions packages/go-ui-storybook/src/stories/Modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import {

interface ModalProps extends PureModalProps {}

function WrappedModal(props: ModalProps) {
function Modal(props: ModalProps) {
return (
<PureModal {...props} /> // eslint-disable-line react/jsx-props-no-spreading
);
}

export default WrappedModal;
export default Modal;
4 changes: 2 additions & 2 deletions packages/go-ui-storybook/src/stories/MultiSelectInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
// eslint-disable-next-line max-len
type MultiSelectInputProps<K extends OptionKey, N, Option extends object, Def extends object > = PureMultiSelectInputProps<K, N, Option, Def, never> ;

function WrappedMultiSelectInput
function MultiSelectInput
<K extends OptionKey, const N, Option extends object, Def extends object>(
props: MultiSelectInputProps<K, N, Option, Def>,
) {
Expand All @@ -17,4 +17,4 @@ function WrappedMultiSelectInput
);
}

export default WrappedMultiSelectInput;
export default MultiSelectInput;
4 changes: 2 additions & 2 deletions packages/go-ui-storybook/src/stories/NavigationTabList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import {

type NavigationTabListProps = PureNavigationTabListProps;

function WrappedNavigationTabList(props: NavigationTabListProps) {
function NavigationTabList(props: NavigationTabListProps) {
return (
<PureNavigationTabList {...props} />// eslint-disable-line react/jsx-props-no-spreading
);
}

export default WrappedNavigationTabList;
export default NavigationTabList;
4 changes: 2 additions & 2 deletions packages/go-ui-storybook/src/stories/NumberInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import {

interface NumberInputProps<T> extends PureNumberInputProps<T> {}

function WrappedNumberInput<const T>(props: NumberInputProps<T>) {
function NumberInput<const T>(props: NumberInputProps<T>) {
return (
<PureNumberInput {...props} />// eslint-disable-line react/jsx-props-no-spreading
);
}

export default WrappedNumberInput;
export default NumberInput;
4 changes: 2 additions & 2 deletions packages/go-ui-storybook/src/stories/NumberOutput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import {

type NumberOutputProps = PureNumberOutputProps

function WrappedNumberOutput(props: NumberOutputProps) {
function NumberOutput(props: NumberOutputProps) {
return (
<PureNumberOutput {...props} />// eslint-disable-line react/jsx-props-no-spreading
);
}

export default WrappedNumberOutput;
export default NumberOutput;
Loading

0 comments on commit e81aa3a

Please sign in to comment.