13 lines
524 B
TypeScript
13 lines
524 B
TypeScript
import type { InjectionKey } from 'vue';
|
|
import type { FormProvide } from '../form/types';
|
|
|
|
export const BORDER = 'van-hairline';
|
|
export const BORDER_TOP = `${BORDER}--top`;
|
|
export const BORDER_LEFT = `${BORDER}--left`;
|
|
export const BORDER_BOTTOM = `${BORDER}--bottom`;
|
|
export const BORDER_SURROUND = `${BORDER}--surround`;
|
|
export const BORDER_TOP_BOTTOM = `${BORDER}--top-bottom`;
|
|
export const BORDER_UNSET_TOP_BOTTOM = `${BORDER}-unset--top-bottom`;
|
|
|
|
export const FORM_KEY: InjectionKey<FormProvide> = Symbol('van-form');
|