import React from 'react';
import { List, ListItem, ListVariant } from '@breakaway/preact-core';

export const ListInline: React.FunctionComponent = () => (
  <List variant={ListVariant.inline}>
    <ListItem>First</ListItem>
    <ListItem>Second</ListItem>
    <ListItem>Third</ListItem>
  </List>
);
