diff --git a/src/components/horizontal_rule/horizontal_rule.tsx b/src/components/horizontal_rule/horizontal_rule.tsx index bb89632dc17..c30291ae2ce 100644 --- a/src/components/horizontal_rule/horizontal_rule.tsx +++ b/src/components/horizontal_rule/horizontal_rule.tsx @@ -4,8 +4,7 @@ import classNames from 'classnames'; import { CommonProps } from '../common'; export type EuiHorizontalRuleSize = keyof typeof sizeToClassNameMap; - -export type EuiHorizontalRuleMargin = 'none' | 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl'; +export type EuiHorizontalRuleMargin = keyof typeof marginToClassNameMap; export interface EuiHorizontalRuleProps { /**