10 lines
280 B
TypeScript
10 lines
280 B
TypeScript
import { ComponentTypes, SeparatorComponent } from "oceanic.js";
|
|
|
|
export type SeparatorProps = Omit<SeparatorComponent, "type">;
|
|
|
|
export function Separator(props: SeparatorProps): SeparatorComponent {
|
|
return {
|
|
type: ComponentTypes.SEPARATOR,
|
|
...props
|
|
};
|
|
}
|