UNPKG

@atlaskit/renderer

Version:
5 lines 472 B
export const isFullWidthAppearance = appearance => appearance === 'full-width'; export const isMaxWidthAppearance = appearance => appearance === 'max'; export const isFullPageAppearance = appearance => appearance === 'full-page'; export const isCommentAppearance = appearance => appearance === 'comment'; export const isFullWidthOrFullPageAppearance = appearance => isFullPageAppearance(appearance) || isFullWidthAppearance(appearance) || isMaxWidthAppearance(appearance);