mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-25 04:36:46 +00:00
Add remaining features to fun picker
This commit is contained in:
@@ -10,3 +10,27 @@ export type FunPanelProps = Readonly<{
|
||||
export function FunPanel(props: FunPanelProps): JSX.Element {
|
||||
return <div className="FunPanel">{props.children}</div>;
|
||||
}
|
||||
|
||||
export type FunPanelHeaderProps = Readonly<{
|
||||
children: ReactNode;
|
||||
}>;
|
||||
|
||||
export function FunPanelHeader(props: FunPanelHeaderProps): JSX.Element {
|
||||
return <div className="FunPanel__Header">{props.children}</div>;
|
||||
}
|
||||
|
||||
export type FunPanelBodyProps = Readonly<{
|
||||
children: ReactNode;
|
||||
}>;
|
||||
|
||||
export function FunPanelBody(props: FunPanelBodyProps): JSX.Element {
|
||||
return <div className="FunPanel__Body">{props.children}</div>;
|
||||
}
|
||||
|
||||
export type FunPanelFooterProps = Readonly<{
|
||||
children: ReactNode;
|
||||
}>;
|
||||
|
||||
export function FunPanelFooter(props: FunPanelFooterProps): JSX.Element {
|
||||
return <div className="FunPanel__Footer">{props.children}</div>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user