10 lines
247 B
TypeScript
10 lines
247 B
TypeScript
export interface RuleProps {
|
|
/** Nothing. A rule separates; it never decorates. */
|
|
children?: never;
|
|
}
|
|
|
|
/** A hairline. Use it only where it carries information. */
|
|
export function Rule(_props: RuleProps) {
|
|
return <hr className="rule" />;
|
|
}
|