import { debugRoot } from '../../../../styles/debugStyles'; import { ComponentSlotStylesPrepared, ICSSInJSStyle } from '@fluentui/styles'; import { ListStylesProps } from '../../../../components/List/List'; export const listStyles: ComponentSlotStylesPrepared = { root: ({ props: p }): ICSSInJSStyle => ({ ...(p.debug && debugRoot()), display: p.horizontal ? 'inline-flex' : 'block', ...(p.isListTag && { listStyle: 'none', padding: 0, margin: 0, }), }), };