How to use remax - 10 common examples

To help you get started, we’ve selected a few remax 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 remaxjs / remax / packages / remax-cli / src / __tests__ / fixtures / createHostComponent / src / pages / index.js View on Github external
import * as React from 'react';
import CustomComponent from 'custom-component';
import { createHostComponent } from 'remax/macro';

const FooBar = createHostComponent('foo-bar', ['foo', ['class', 'className']]);

export default () => {
  return (
    <>
      
      
    
  );
};
github remaxjs / remax / packages / remax-cli / src / build / adapters / alipay / hostComponents / index.ts View on Github external
export function register() {
  hostComponents.set('button', button);
  hostComponents.set('canvas', canvas);
  hostComponents.set('checkbox-group', checkboxGroup);
  hostComponents.set('checkbox', checkbox);
  hostComponents.set('contact-button', contactButton);
  hostComponents.set('cover-image', coverImage);
  hostComponents.set('cover-view', coverView);
  hostComponents.set('form', form);
  hostComponents.set('icon', icon);
  hostComponents.set('image', image);
  hostComponents.set('input', input);
  hostComponents.set('label', label);
  hostComponents.set('lifestyle', lifestyle);
  hostComponents.set('map', map);
  hostComponents.set('movable-area', movableArea);
  hostComponents.set('movable-view', movableView);
  hostComponents.set('navigator', navigator);
  hostComponents.set('picker-view-column', pickerViewColumn);
  hostComponents.set('picker-view', pickerView);
  hostComponents.set('picker', picker);
  hostComponents.set('progress', progress);
  hostComponents.set('radio-group', radioGroup);
  hostComponents.set('radio', radio);
  hostComponents.set('rich-text', richText);
  hostComponents.set('scroll-view', scrollView);
  hostComponents.set('slider', slider);
github remaxjs / remax / packages / remax-cli / src / build / adapters / alipay / hostComponents / index.ts View on Github external
hostComponents.set('button', button);
  hostComponents.set('canvas', canvas);
  hostComponents.set('checkbox-group', checkboxGroup);
  hostComponents.set('checkbox', checkbox);
  hostComponents.set('contact-button', contactButton);
  hostComponents.set('cover-image', coverImage);
  hostComponents.set('cover-view', coverView);
  hostComponents.set('form', form);
  hostComponents.set('icon', icon);
  hostComponents.set('image', image);
  hostComponents.set('input', input);
  hostComponents.set('label', label);
  hostComponents.set('lifestyle', lifestyle);
  hostComponents.set('map', map);
  hostComponents.set('movable-area', movableArea);
  hostComponents.set('movable-view', movableView);
  hostComponents.set('navigator', navigator);
  hostComponents.set('picker-view-column', pickerViewColumn);
  hostComponents.set('picker-view', pickerView);
  hostComponents.set('picker', picker);
  hostComponents.set('progress', progress);
  hostComponents.set('radio-group', radioGroup);
  hostComponents.set('radio', radio);
  hostComponents.set('rich-text', richText);
  hostComponents.set('scroll-view', scrollView);
  hostComponents.set('slider', slider);
  hostComponents.set('swiper-item', swiperItem);
  hostComponents.set('swiper', swiper);
  hostComponents.set('switch', switchComponent);
  hostComponents.set('text', text);
  hostComponents.set('textarea', textarea);
  hostComponents.set('view', view);
github remaxjs / remax / packages / remax-cli / src / build / adapters / alipay / hostComponents / index.ts View on Github external
hostComponents.set('contact-button', contactButton);
  hostComponents.set('cover-image', coverImage);
  hostComponents.set('cover-view', coverView);
  hostComponents.set('form', form);
  hostComponents.set('icon', icon);
  hostComponents.set('image', image);
  hostComponents.set('input', input);
  hostComponents.set('label', label);
  hostComponents.set('lifestyle', lifestyle);
  hostComponents.set('map', map);
  hostComponents.set('movable-area', movableArea);
  hostComponents.set('movable-view', movableView);
  hostComponents.set('navigator', navigator);
  hostComponents.set('picker-view-column', pickerViewColumn);
  hostComponents.set('picker-view', pickerView);
  hostComponents.set('picker', picker);
  hostComponents.set('progress', progress);
  hostComponents.set('radio-group', radioGroup);
  hostComponents.set('radio', radio);
  hostComponents.set('rich-text', richText);
  hostComponents.set('scroll-view', scrollView);
  hostComponents.set('slider', slider);
  hostComponents.set('swiper-item', swiperItem);
  hostComponents.set('swiper', swiper);
  hostComponents.set('switch', switchComponent);
  hostComponents.set('text', text);
  hostComponents.set('textarea', textarea);
  hostComponents.set('view', view);
  hostComponents.set('web-view', webView);
  hostComponents.set('video', video);
}
github remaxjs / remax / packages / remax-cli / src / build / adapters / alipay / hostComponents / index.ts View on Github external
hostComponents.set('cover-image', coverImage);
  hostComponents.set('cover-view', coverView);
  hostComponents.set('form', form);
  hostComponents.set('icon', icon);
  hostComponents.set('image', image);
  hostComponents.set('input', input);
  hostComponents.set('label', label);
  hostComponents.set('lifestyle', lifestyle);
  hostComponents.set('map', map);
  hostComponents.set('movable-area', movableArea);
  hostComponents.set('movable-view', movableView);
  hostComponents.set('navigator', navigator);
  hostComponents.set('picker-view-column', pickerViewColumn);
  hostComponents.set('picker-view', pickerView);
  hostComponents.set('picker', picker);
  hostComponents.set('progress', progress);
  hostComponents.set('radio-group', radioGroup);
  hostComponents.set('radio', radio);
  hostComponents.set('rich-text', richText);
  hostComponents.set('scroll-view', scrollView);
  hostComponents.set('slider', slider);
  hostComponents.set('swiper-item', swiperItem);
  hostComponents.set('swiper', swiper);
  hostComponents.set('switch', switchComponent);
  hostComponents.set('text', text);
  hostComponents.set('textarea', textarea);
  hostComponents.set('view', view);
  hostComponents.set('web-view', webView);
  hostComponents.set('video', video);
}
github remaxjs / remax / packages / remax-cli / src / build / adapters / alipay / hostComponents / index.ts View on Github external
hostComponents.set('image', image);
  hostComponents.set('input', input);
  hostComponents.set('label', label);
  hostComponents.set('lifestyle', lifestyle);
  hostComponents.set('map', map);
  hostComponents.set('movable-area', movableArea);
  hostComponents.set('movable-view', movableView);
  hostComponents.set('navigator', navigator);
  hostComponents.set('picker-view-column', pickerViewColumn);
  hostComponents.set('picker-view', pickerView);
  hostComponents.set('picker', picker);
  hostComponents.set('progress', progress);
  hostComponents.set('radio-group', radioGroup);
  hostComponents.set('radio', radio);
  hostComponents.set('rich-text', richText);
  hostComponents.set('scroll-view', scrollView);
  hostComponents.set('slider', slider);
  hostComponents.set('swiper-item', swiperItem);
  hostComponents.set('swiper', swiper);
  hostComponents.set('switch', switchComponent);
  hostComponents.set('text', text);
  hostComponents.set('textarea', textarea);
  hostComponents.set('view', view);
  hostComponents.set('web-view', webView);
  hostComponents.set('video', video);
}
github remaxjs / remax / packages / remax-cli / src / build / adapters / alipay / hostComponents / index.ts View on Github external
hostComponents.set('checkbox-group', checkboxGroup);
  hostComponents.set('checkbox', checkbox);
  hostComponents.set('contact-button', contactButton);
  hostComponents.set('cover-image', coverImage);
  hostComponents.set('cover-view', coverView);
  hostComponents.set('form', form);
  hostComponents.set('icon', icon);
  hostComponents.set('image', image);
  hostComponents.set('input', input);
  hostComponents.set('label', label);
  hostComponents.set('lifestyle', lifestyle);
  hostComponents.set('map', map);
  hostComponents.set('movable-area', movableArea);
  hostComponents.set('movable-view', movableView);
  hostComponents.set('navigator', navigator);
  hostComponents.set('picker-view-column', pickerViewColumn);
  hostComponents.set('picker-view', pickerView);
  hostComponents.set('picker', picker);
  hostComponents.set('progress', progress);
  hostComponents.set('radio-group', radioGroup);
  hostComponents.set('radio', radio);
  hostComponents.set('rich-text', richText);
  hostComponents.set('scroll-view', scrollView);
  hostComponents.set('slider', slider);
  hostComponents.set('swiper-item', swiperItem);
  hostComponents.set('swiper', swiper);
  hostComponents.set('switch', switchComponent);
  hostComponents.set('text', text);
  hostComponents.set('textarea', textarea);
  hostComponents.set('view', view);
  hostComponents.set('web-view', webView);
  hostComponents.set('video', video);
github remaxjs / remax / packages / remax-cli / src / build / adapters / alipay / hostComponents / index.ts View on Github external
export function register() {
  hostComponents.set('button', button);
  hostComponents.set('canvas', canvas);
  hostComponents.set('checkbox-group', checkboxGroup);
  hostComponents.set('checkbox', checkbox);
  hostComponents.set('contact-button', contactButton);
  hostComponents.set('cover-image', coverImage);
  hostComponents.set('cover-view', coverView);
  hostComponents.set('form', form);
  hostComponents.set('icon', icon);
  hostComponents.set('image', image);
  hostComponents.set('input', input);
  hostComponents.set('label', label);
  hostComponents.set('lifestyle', lifestyle);
  hostComponents.set('map', map);
  hostComponents.set('movable-area', movableArea);
  hostComponents.set('movable-view', movableView);
  hostComponents.set('navigator', navigator);
  hostComponents.set('picker-view-column', pickerViewColumn);
  hostComponents.set('picker-view', pickerView);
  hostComponents.set('picker', picker);
  hostComponents.set('progress', progress);
  hostComponents.set('radio-group', radioGroup);
github remaxjs / remax / packages / remax-cli / src / build / adapters / alipay / hostComponents / index.ts View on Github external
hostComponents.set('canvas', canvas);
  hostComponents.set('checkbox-group', checkboxGroup);
  hostComponents.set('checkbox', checkbox);
  hostComponents.set('contact-button', contactButton);
  hostComponents.set('cover-image', coverImage);
  hostComponents.set('cover-view', coverView);
  hostComponents.set('form', form);
  hostComponents.set('icon', icon);
  hostComponents.set('image', image);
  hostComponents.set('input', input);
  hostComponents.set('label', label);
  hostComponents.set('lifestyle', lifestyle);
  hostComponents.set('map', map);
  hostComponents.set('movable-area', movableArea);
  hostComponents.set('movable-view', movableView);
  hostComponents.set('navigator', navigator);
  hostComponents.set('picker-view-column', pickerViewColumn);
  hostComponents.set('picker-view', pickerView);
  hostComponents.set('picker', picker);
  hostComponents.set('progress', progress);
  hostComponents.set('radio-group', radioGroup);
  hostComponents.set('radio', radio);
  hostComponents.set('rich-text', richText);
  hostComponents.set('scroll-view', scrollView);
  hostComponents.set('slider', slider);
  hostComponents.set('swiper-item', swiperItem);
  hostComponents.set('swiper', swiper);
  hostComponents.set('switch', switchComponent);
  hostComponents.set('text', text);
  hostComponents.set('textarea', textarea);
  hostComponents.set('view', view);
  hostComponents.set('web-view', webView);
github remaxjs / remax / packages / remax-cli / src / build / adapters / alipay / hostComponents / index.ts View on Github external
export function register() {
  hostComponents.set('button', button);
  hostComponents.set('canvas', canvas);
  hostComponents.set('checkbox-group', checkboxGroup);
  hostComponents.set('checkbox', checkbox);
  hostComponents.set('contact-button', contactButton);
  hostComponents.set('cover-image', coverImage);
  hostComponents.set('cover-view', coverView);
  hostComponents.set('form', form);
  hostComponents.set('icon', icon);
  hostComponents.set('image', image);
  hostComponents.set('input', input);
  hostComponents.set('label', label);
  hostComponents.set('lifestyle', lifestyle);
  hostComponents.set('map', map);
  hostComponents.set('movable-area', movableArea);
  hostComponents.set('movable-view', movableView);
  hostComponents.set('navigator', navigator);
  hostComponents.set('picker-view-column', pickerViewColumn);
  hostComponents.set('picker-view', pickerView);
  hostComponents.set('picker', picker);
  hostComponents.set('progress', progress);
  hostComponents.set('radio-group', radioGroup);
  hostComponents.set('radio', radio);
  hostComponents.set('rich-text', richText);
  hostComponents.set('scroll-view', scrollView);
  hostComponents.set('slider', slider);
  hostComponents.set('swiper-item', swiperItem);
  hostComponents.set('swiper', swiper);
  hostComponents.set('switch', switchComponent);
  hostComponents.set('text', text);
  hostComponents.set('textarea', textarea);

remax

Remax 是一个全新的基于 React 的小程序开发框架

MIT
Latest version published 3 years ago

Package Health Score

50 / 100
Full package analysis