How to use the wix-ui-core/dist/src/createHOC.createHOC function in wix-ui-core

To help you get started, we’ve selected a few wix-ui-core examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github wix / wix-ui-backoffice / src / components / CircularProgressBar / index.ts View on Github external
import {CircularProgressBar as CircularProgressBarComponent} from './CircularProgressBar';
import {createHOC} from 'wix-ui-core/dist/src/createHOC';

export const CircularProgressBar = createHOC(CircularProgressBarComponent);
github wix / wix-ui-backoffice / src / components / StylableCounterBadge / index.ts View on Github external
import { CounterBadge as CounterBadgeComponent } from './CounterBadge';
import { createHOC } from 'wix-ui-core/dist/src/createHOC';

export const CounterBadge = createHOC(CounterBadgeComponent);
export {
  Skin as CounterBadgeSkin,
  SKIN as COUNTER_BADGE_SKIN,
  maxContentLength as counterBadgeMaxContentLength,
} from './constants';
github wix / wix-ui-backoffice / src / components / Label / index.ts View on Github external
import {Label as LabelComponent} from './Label';
import {createHOC} from 'wix-ui-core/dist/src/createHOC';

export const Label = createHOC(LabelComponent);
github wix / wix-ui-backoffice / src / components / FloatingHelper / index.ts View on Github external
import {createHOC} from 'wix-ui-core/dist/src/createHOC';
import {FloatingHelper as FLoatingHelperRaw} from './FloatingHelper';
export * from './FloatingHelper';
export const FloatingHelper = createHOC(FLoatingHelperRaw);

export * from './constants';
github wix / wix-ui-backoffice / src / components / LinearProgressBar / index.ts View on Github external
import {LinearProgressBar as LinearProgressBarComponent} from './LinearProgressBar';
import {createHOC} from 'wix-ui-core/dist/src/createHOC';

export const LinearProgressBar = createHOC(LinearProgressBarComponent);
github wix / wix-ui-backoffice / src / components / Heading / index.ts View on Github external
import {Heading as HeadingComponent} from './Heading';
import {createHOC} from 'wix-ui-core/dist/src/createHOC';

export const Heading = createHOC(HeadingComponent);
github wix / wix-ui-backoffice / src / components / TimePicker / index.ts View on Github external
import {TimePicker as TimePickerComponent} from './TimePicker';
import {createHOC} from 'wix-ui-core/dist/src/createHOC';

export const TimePicker = createHOC(TimePickerComponent);
github wix / wix-ui-backoffice / src / components / StylableToggleSwitch / index.ts View on Github external
import {ToggleSwitch as ToggleSwitchComponent} from './ToggleSwitch';
import {createHOC} from 'wix-ui-core/dist/src/createHOC';

export const ToggleSwitch = createHOC(ToggleSwitchComponent);