/** * display 规则 */ import { DISPLAY_STR } from '../constant'; export default { regExp: new RegExp(`^(display|d)-(?${DISPLAY_STR})`), render: function ({ grops }) { const { value } = grops; return { name: 'display', css: [`display: ${value}`] } } }