Skip to main content

Divider: React

Dividers allow a visual representation of the start of a new area of content.

Installation

Before you can start using the @mediahuis/chameleon-react component, you’ll need to install it, for more information check: Getting started for developers.

With that done, you’re now ready to implement the component in your application.

import { Divider } from '@mediahuis/chameleon-react';

export default function Example() {
return <Divider />;
}

Properties

PropertyTypeDefaultRequiredDescription
classNameString-NoAllows extending the class names.