aliascss
Version:
AliasCSS is a CSS post processor.
22 lines (21 loc) • 574 B
TypeScript
type Property = {
alias?: string;
property?: string;
type?: string;
values?: string[];
groups?: {
[key: string]: string;
};
compiler?: (...args: any[]) => any;
};
export default function getPropertyAndValue(className: string, cssPropertiesWithAlias: {
[key: string]: Property;
}, staticClassNames: {
[key: string]: string;
}, custom: {
[key: string]: {
[key: string]: string;
};
}, extractProperty: any, // (a:string,b:{[key:string]:Property})=>[Property,string],
bool?: boolean): string[] | null | {};
export {};