UNPKG

weapp-tailwindcss

Version:

把 tailwindcss 原子化样式思想,带给小程序开发者们! bring tailwindcss to miniprogram developers!

10 lines (9 loc) 538 B
import type { IStyleHandlerOptions, StyleHandler } from '@weapp-tailwindcss/postcss/types'; import type { PlatformAdapter } from './types.js'; export interface CreateStylePlatformAdapterOptions { id: PlatformAdapter['id']; styleHandler: StyleHandler; styleOptions?: Partial<IStyleHandlerOptions> | undefined; } export declare function createPassthroughPlatformAdapter(id: PlatformAdapter['id']): PlatformAdapter; export declare function createStylePlatformAdapter(options: CreateStylePlatformAdapterOptions): PlatformAdapter;