rough-native
Version:
Create graphics using HTML Canvas or SVG with a hand-drawn, sketchy, appearance. Features comprehensive React hooks, memory management, and React 18 concurrent rendering support.
11 lines (10 loc) • 484 B
TypeScript
import { Config } from './core';
import { RoughGenerator } from './generator';
import { RoughReactNativeSVG } from './react-native-svg';
export { useRough, useRoughShape, useRoughShapes, useStableRough, useDeepMemoWithDebug, debugUtils, type ShapeParams, type ShapeDefinition, } from './react-hooks';
declare const _default: {
reactNativeSvg(config?: Config): RoughReactNativeSVG;
generator(config?: Config): RoughGenerator;
newSeed(): number;
};
export default _default;